The following commit has been merged in the master branch:
commit 2718f03bc2bb26de0e18b7bbcb20ac02b24c0719
Author: Guillem Jover <[email protected]>
Date:   Fri Feb 11 05:11:39 2011 +0100

    libdpkg: Rename function type from tar_func to tar_make_func
    
    This disambiguates the purpose of the function type.

diff --git a/lib/dpkg/tarfn.h b/lib/dpkg/tarfn.h
index 00c87b3..94f77a9 100644
--- a/lib/dpkg/tarfn.h
+++ b/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);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to