From: Ben Gras Date: Wed, 9 Jun 2010 12:53:09 +0000 (+0000) Subject: inlcude: new prototypes X-Git-Tag: v3.1.8~467 X-Git-Url: http://zhaoyanbai.com/repos/rndc-confgen.html?a=commitdiff_plain;h=ac34bfd42b85fbdf9dd3d64117f7a9ccaa8a7136;p=minix.git inlcude: new prototypes --- diff --git a/include/grp.h b/include/grp.h index 41dc69baa..45f8afa07 100644 --- a/include/grp.h +++ b/include/grp.h @@ -23,6 +23,7 @@ _PROTOTYPE( void endgrent, (void) ); _PROTOTYPE( struct group *getgrent, (void) ); _PROTOTYPE( int setgrent, (void) ); _PROTOTYPE( void setgrfile, (const char *_file) ); +_PROTOTYPE( const char *group_from_gid, (gid_t, int) ); #endif #endif /* _GRP_H */ diff --git a/include/pwd.h b/include/pwd.h index 658d6e5c6..a53497598 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -28,6 +28,7 @@ _PROTOTYPE( void endpwent, (void) ); _PROTOTYPE( struct passwd *getpwent, (void) ); _PROTOTYPE( int setpwent, (void) ); _PROTOTYPE( void setpwfile, (const char *_file) ); +_PROTOTYPE( const char *user_from_uid, (uid_t, int) ); #endif #endif /* _PWD_H */ diff --git a/include/unistd.h b/include/unistd.h index e5b84a903..df28fff57 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -207,7 +207,9 @@ _PROTOTYPE( gid_t getngid, (endpoint_t proc_ep) ); _PROTOTYPE( int getpagesize, (void) ); _PROTOTYPE( int setgroups, (int ngroups, const gid_t *gidset) ); _PROTOTYPE( int initgroups, (const char *name, gid_t basegid) ); -_PROTOTYPE( void *setmode, (const char *)); +_PROTOTYPE( void *setmode, (const char *) ); +_PROTOTYPE( mode_t getmode, (const void *, mode_t) ); +_PROTOTYPE( void strmode, (mode_t, char *) ); #endif