diff options
Diffstat (limited to 'libmisc/idmapping.h')
-rw-r--r-- | libmisc/idmapping.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmisc/idmapping.h b/libmisc/idmapping.h index e3527606..46d46312 100644 --- a/libmisc/idmapping.h +++ b/libmisc/idmapping.h @@ -7,6 +7,8 @@ #ifndef _IDMAPPING_H_ #define _IDMAPPING_H_ +#include <sys/types.h> + struct map_range { unsigned long upper; /* first ID inside the namespace */ unsigned long lower; /* first ID outside the namespace */ @@ -15,9 +17,7 @@ struct map_range { extern struct map_range *get_map_ranges(int ranges, int argc, char **argv); extern void write_mapping(int proc_dir_fd, int ranges, - struct map_range *mappings, const char *map_file, uid_t ruid); - -extern void nss_init(char *nsswitch_path); + const struct map_range *mappings, const char *map_file, uid_t ruid); #endif /* _ID_MAPPING_H_ */ |