aboutsummaryrefslogtreecommitdiffstats
path: root/include/automount.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/automount.h')
-rw-r--r--include/automount.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/automount.h b/include/automount.h
index 1e8a001..8054269 100644
--- a/include/automount.h
+++ b/include/automount.h
@@ -45,9 +45,9 @@ int lookup_init(const char *mapfmt, int argc, const char * const *argv,
int lookup_mount(const char *, const char *, int, void *);
int lookup_done(void *);
#endif
-typedef (*lookup_init_t)(const char *, int, const char * const *, void **);
-typedef (*lookup_mount_t)(const char *, const char *, int, void *);
-typedef (*lookup_done_t)(void *);
+typedef int (*lookup_init_t)(const char *, int, const char * const *, void **);
+typedef int (*lookup_mount_t)(const char *, const char *, int, void *);
+typedef int (*lookup_done_t)(void *);
struct lookup_mod {
lookup_init_t lookup_init;
lookup_mount_t lookup_mount;
@@ -70,9 +70,9 @@ int parse_mount(const char *root, const char *name,
int name_len, const char *mapent, void *context);
int parse_done(void *);
#endif
-typedef (*parse_init_t)(int, const char * const *,void **);
-typedef (*parse_mount_t)(const char *,const char *,int, const char *,void *);
-typedef (*parse_done_t)(void *);
+typedef int (*parse_init_t)(int, const char * const *,void **);
+typedef int (*parse_mount_t)(const char *,const char *,int, const char *,void *);
+typedef int (*parse_done_t)(void *);
struct parse_mod {
parse_init_t parse_init;
parse_mount_t parse_mount;
@@ -95,9 +95,9 @@ int mount_mount(const char *root, const char *name, int name_len,
void *context);
int mount_done(void *context);
#endif
-typedef (*mount_init_t)(void **);
-typedef (*mount_mount_t)(const char *, const char *, int, const char *, const char *, const char *, void *);
-typedef (*mount_done_t)(void *);
+typedef int (*mount_init_t)(void **);
+typedef int (*mount_mount_t)(const char *, const char *, int, const char *, const char *, const char *, void *);
+typedef int (*mount_done_t)(void *);
struct mount_mod {
mount_init_t mount_init;
mount_mount_t mount_mount;