[klibc] add system() to stdlib.h

Thayne Harbaugh tharbaugh at lnxi.com
Thu Oct 21 16:41:40 PDT 2004


klibc/system.c needs stdlib.h entry:

diff -uNr klibc-0.188/include/stdlib.h udev-040/klibc-0.188/include/stdlib.h
--- klibc-0.188/include/stdlib.h        2004-06-04 21:03:08.000000000 -0600
+++ udev-040/klibc-0.188/include/stdlib.h       2004-10-21 16:00:34.308651808 -0600
@@ -21,6 +21,7 @@
 static __inline__ int abs(int __n) {
   return (__n < 0) ? -__n : __n;
 }
+__extern int system(const char * string);
 __extern int atexit(void (*)(void));
 __extern int on_exit(void (*)(int, void *), void *);
 __extern int atoi(const char *);


-- 
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20041021/e4007e79/attachment.bin


More information about the klibc mailing list