Просмотр исходного кода

libdpkg: Rename function type from tar_func to tar_make_func

This disambiguates the purpose of the function type.
Guillem Jover лет назад: 15
Родитель
Сommit
2718f03bc2
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      lib/dpkg/tarfn.h

+ 6 - 6
lib/dpkg/tarfn.h

@@ -63,16 +63,16 @@ struct tar_entry {
 };
 
 typedef int tar_read_func(void *ctx, char *buffer, int length);
-typedef int tar_func(void *ctx, struct tar_entry *h);
+typedef int tar_make_func(void *ctx, struct tar_entry *h);
 
 struct tar_operations {
 	tar_read_func *read;
 
-	tar_func *extract_file;
-	tar_func *link;
-	tar_func *symlink;
-	tar_func *mkdir;
-	tar_func *mknod;
+	tar_make_func *extract_file;
+	tar_make_func *link;
+	tar_make_func *symlink;
+	tar_make_func *mkdir;
+	tar_make_func *mknod;
 };
 
 int tar_extractor(void *ctx, const struct tar_operations *ops);