[BusyBox] [PATCH] Fix compiler warning in libbb/get_ug_id.c

Arthur Othieno a.othieno at bluewin.ch
Mon Oct 13 20:09:50 UTC 2003


libbb/get_ug_id.c: In function `get_ug_id':
libbb/get_ug_id.c:22: warning: implicit declaration of function  `strtoul'


Index: libbb/get_ug_id.c
===================================================================
RCS file: /var/cvs/busybox/libbb/get_ug_id.c,v
retrieving revision 1.1
diff -u -r1.1 get_ug_id.c
--- libbb/get_ug_id.c	24 Sep 2003 03:22:57 -0000	1.1
+++ libbb/get_ug_id.c	13 Oct 2003 19:43:28 -0000
@@ -14,6 +14,9 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#include <stdlib.h>
+
+
 extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *))
 {
 	unsigned long r;


-- 
Linux is a true multitasking system. Are you?



More information about the busybox mailing list