svn commit: trunk/busybox/include
vda at busybox.net
vda at busybox.net
Sun May 25 04:31:55 UTC 2008
Author: vda
Date: 2008-05-24 21:31:54 -0700 (Sat, 24 May 2008)
New Revision: 22073
Log:
move setgroups definition to libbb.h so that it no longer inadvertently
get hidden attribute
Modified:
trunk/busybox/include/grp_.h
trunk/busybox/include/libbb.h
Changeset:
Modified: trunk/busybox/include/grp_.h
===================================================================
--- trunk/busybox/include/grp_.h 2008-05-25 01:14:14 UTC (rev 22072)
+++ trunk/busybox/include/grp_.h 2008-05-25 04:31:54 UTC (rev 22073)
@@ -36,12 +36,7 @@
char **gr_mem; /* Member list. */
};
-/* We don't reimplement this, just supplying prototype */
-/* The function itself is in libc */
-/* Set the group set for the current user to GROUPS (N of them). */
-extern int setgroups(size_t __n, __const gid_t *__groups);
-
#define setgrent bb_internal_setgrent
#define endgrent bb_internal_endgrent
#define getgrent bb_internal_getgrent
Modified: trunk/busybox/include/libbb.h
===================================================================
--- trunk/busybox/include/libbb.h 2008-05-25 01:14:14 UTC (rev 22072)
+++ trunk/busybox/include/libbb.h 2008-05-25 04:31:54 UTC (rev 22073)
@@ -79,9 +79,11 @@
# endif
#endif
-/* Some libc's forget to declare these, help them */
+/* Some libc's forget to declare these, do it ourself */
extern char **environ;
+/* Set the group set for the current user to GROUPS (N of them). */
+int setgroups(size_t n, const gid_t *groups);
#if defined(__GLIBC__) && __GLIBC__ < 2
int vdprintf(int d, const char *format, va_list ap);
#endif
More information about the busybox-cvs
mailing list