svn commit: trunk/uClibc/libc: misc/dirent misc/fnmatch misc/ftw misc/g etc...

psm at uclibc.org psm at uclibc.org
Thu Dec 8 15:04:32 UTC 2005


Author: psm
Date: 2005-12-08 07:04:23 -0800 (Thu, 08 Dec 2005)
New Revision: 12749

Log:
Use internal versions

Modified:
   trunk/uClibc/libc/misc/dirent/dirfd.c
   trunk/uClibc/libc/misc/dirent/scandir.c
   trunk/uClibc/libc/misc/dirent/scandir64.c
   trunk/uClibc/libc/misc/fnmatch/fnmatch.c
   trunk/uClibc/libc/misc/ftw/ftw.c
   trunk/uClibc/libc/misc/glob/glob.c
   trunk/uClibc/libc/misc/internals/tempname.c
   trunk/uClibc/libc/misc/mntent/mntent.c
   trunk/uClibc/libc/misc/regex/regex_old.c
   trunk/uClibc/libc/misc/time/ftime.c
   trunk/uClibc/libc/misc/time/time.c
   trunk/uClibc/libc/misc/utmp/wtent.c
   trunk/uClibc/libc/misc/wordexp/wordexp.c
   trunk/uClibc/libc/pwd_grp/pwd_grp.c
   trunk/uClibc/libc/stdlib/malloc/malloc_debug.c
   trunk/uClibc/libc/stdlib/ptsname.c
   trunk/uClibc/libc/stdlib/unlockpt.c
   trunk/uClibc/libc/termios/tcgetattr.c
   trunk/uClibc/libc/termios/tcgetsid.c
   trunk/uClibc/libc/termios/tcsetattr.c
   trunk/uClibc/libc/termios/termios.c
   trunk/uClibc/libc/termios/ttyname.c
   trunk/uClibc/libc/unistd/daemon.c
   trunk/uClibc/libc/unistd/exec.c
   trunk/uClibc/libc/unistd/getpass.c
   trunk/uClibc/libc/unistd/usershell.c


Changeset:
Modified: trunk/uClibc/libc/misc/dirent/dirfd.c
===================================================================
--- trunk/uClibc/libc/misc/dirent/dirfd.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/dirent/dirfd.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -2,7 +2,7 @@
 #include <errno.h>
 #include "dirstream.h"
 
-int dirfd(DIR * dir)
+int attribute_hidden __dirfd(DIR * dir)
 {
 	if (!dir || dir->dd_fd == -1) {
 		__set_errno(EBADF);
@@ -11,3 +11,4 @@
 
 	return dir->dd_fd;
 }
+strong_alias(__dirfd,dirfd)

Modified: trunk/uClibc/libc/misc/dirent/scandir.c
===================================================================
--- trunk/uClibc/libc/misc/dirent/scandir.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/dirent/scandir.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -21,6 +21,8 @@
    */
 
 #define qsort __qsort
+#define opendir __opendir
+#define closedir __closedir
 
 #include <dirent.h>
 #include <stdio.h>

Modified: trunk/uClibc/libc/misc/dirent/scandir64.c
===================================================================
--- trunk/uClibc/libc/misc/dirent/scandir64.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/dirent/scandir64.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -21,6 +21,8 @@
    */
 
 #define qsort __qsort
+#define opendir __opendir
+#define closedir __closedir
 
 #include <features.h>
 #ifdef __UCLIBC_HAS_LFS__

Modified: trunk/uClibc/libc/misc/fnmatch/fnmatch.c
===================================================================
--- trunk/uClibc/libc/misc/fnmatch/fnmatch.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/fnmatch/fnmatch.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -49,16 +49,9 @@
 # define ISUPPER(c) (ISASCII (c) && isupper (c))
 
 
-# ifndef errno
-extern int errno;
-# endif
-
 /* Match STRING against the filename pattern PATTERN, returning zero if
    it matches, nonzero if not.  */
-int fnmatch(pattern, string, flags)
-const char *pattern;
-const char *string;
-int flags;
+int attribute_hidden __fnmatch(const char *pattern, const char *string, int flags)
 {
 	register const char *p = pattern, *n = string;
 	register char c;
@@ -228,5 +221,5 @@
 
 # undef FOLD
 }
-
+strong_alias(__fnmatch,fnmatch)
 #endif							/* _LIBC or not __GNU_LIBRARY__.  */

Modified: trunk/uClibc/libc/misc/ftw/ftw.c
===================================================================
--- trunk/uClibc/libc/misc/ftw/ftw.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/ftw/ftw.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -25,8 +25,13 @@
 #define stpcpy __stpcpy
 #define tsearch __tsearch
 #define tdestroy __tdestroy
+#define tfind __tfind
 #define fchdir __fchdir
+#define chdir __chdir
+#define dirfd __dirfd
 #define getcwd __getcwd
+#define opendir __opendir
+#define closedir __closedir
 
 #define _GNU_SOURCE
 #include <features.h>

Modified: trunk/uClibc/libc/misc/glob/glob.c
===================================================================
--- trunk/uClibc/libc/misc/glob/glob.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/glob/glob.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -18,6 +18,7 @@
 #define strrchr __strrchr
 #define strcoll __strcoll
 #define qsort __qsort
+#define fnmatch __fnmatch
 
 #include <features.h>
 #include <stdlib.h>
@@ -32,6 +33,9 @@
 #define _GNU_SOURCE
 #include <glob.h>
 
+extern DIR *__opendir (__const char *__name) __nonnull ((1)) attribute_hidden;
+extern int __closedir (DIR *__dirp) __nonnull ((1)) attribute_hidden;
+
 extern __ptr_t (*__glob_opendir_hook) __P ((const char *directory));
 extern void (*__glob_closedir_hook) __P ((__ptr_t stream));
 extern const char *(*__glob_readdir_hook) __P ((__ptr_t stream));
@@ -397,7 +401,7 @@
   int meta;
 
   stream = (__glob_opendir_hook ? (*__glob_opendir_hook) (directory)
-	   : (__ptr_t) opendir (directory));
+	   : (__ptr_t) __opendir (directory));
   if (stream == NULL)
     {
       if ((errfunc != NULL && (*errfunc) (directory, errno)) ||
@@ -497,7 +501,7 @@
     if (__glob_closedir_hook)
       (*__glob_closedir_hook) (stream);
     else
-      (void) closedir ((DIR *) stream);
+      (void) __closedir ((DIR *) stream);
     errno = save;
   }
   return nfound == 0 ? GLOB_NOMATCH : 0;
@@ -508,7 +512,7 @@
     if (__glob_closedir_hook)
       (*__glob_closedir_hook) (stream);
     else
-      (void) closedir ((DIR *) stream);
+      (void) __closedir ((DIR *) stream);
     errno = save;
   }
   while (names != NULL)

Modified: trunk/uClibc/libc/misc/internals/tempname.c
===================================================================
--- trunk/uClibc/libc/misc/internals/tempname.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/internals/tempname.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -32,6 +32,8 @@
  */
 
 #define open64 __open64
+#define mkdir __mkdir
+#define gettimeofday __gettimeofday
 
 #include <stddef.h>
 #include <stdint.h>

Modified: trunk/uClibc/libc/misc/mntent/mntent.c
===================================================================
--- trunk/uClibc/libc/misc/mntent/mntent.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/mntent/mntent.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -1,5 +1,6 @@
 #define strtok_r __strtok_r
 #define strstr __strstr
+#define atoi __atoi
 
 #include <stdio.h>
 #include <stdlib.h>

Modified: trunk/uClibc/libc/misc/regex/regex_old.c
===================================================================
--- trunk/uClibc/libc/misc/regex/regex_old.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/regex/regex_old.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -31,6 +31,7 @@
 #define mbrtowc __mbrtowc
 #define wcrtomb __wcrtomb
 #define wcscoll __wcscoll
+#define wctype __wctype
 #define iswctype __iswctype
 #define iswalnum __iswalnum
 
@@ -5166,7 +5167,7 @@
   wchar_t *wcs_string1 = NULL, *wcs_string2 = NULL;
   /* We need the size of wchar_t buffers correspond to csize1, csize2.  */
   int wcs_size1 = 0, wcs_size2 = 0;
-  /* offset buffer for optimizatoin. See convert_mbs_to_wc.  */
+  /* offset buffer for optimization. See convert_mbs_to_wc.  */
   int *mbs_offset1 = NULL, *mbs_offset2 = NULL;
   /* They hold whether each wchar_t is binary data or not.  */
   char *is_binary = NULL;
@@ -5696,7 +5697,7 @@
      wchar_t *string1, *string2;
      /* We need the size of wchar_t buffers correspond to csize1, csize2.  */
      int size1, size2;
-     /* offset buffer for optimizatoin. See convert_mbs_to_wc.  */
+     /* offset buffer for optimization. See convert_mbs_to_wc.  */
      int *mbs_offset1, *mbs_offset2;
 #else /* BYTE */
 static int

Modified: trunk/uClibc/libc/misc/time/ftime.c
===================================================================
--- trunk/uClibc/libc/misc/time/ftime.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/time/ftime.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -16,6 +16,8 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#define gettimeofday __gettimeofday
+
 #include <sys/timeb.h>
 #include <sys/time.h>
 

Modified: trunk/uClibc/libc/misc/time/time.c
===================================================================
--- trunk/uClibc/libc/misc/time/time.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/time/time.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -130,6 +130,7 @@
  */
 
 #define strnlen __strnlen
+#define gettimeofday __gettimeofday
 
 #define _GNU_SOURCE
 #include <stdio.h>
@@ -147,8 +148,15 @@
 
 extern void __tzset (void) __THROW attribute_hidden;
 
+extern long int __strtol (__const char *__restrict __nptr,
+			char **__restrict __endptr, int __base)
+     __THROW __nonnull ((1)) __wur attribute_hidden;
+
 #ifdef __UCLIBC_HAS_XLOCALE__
 #include <xlocale.h>
+extern long int __strtol_l (__const char *__restrict __nptr,
+			  char **__restrict __endptr, int __base,
+			  __locale_t __loc) __THROW __nonnull ((1, 4)) __wur attribute_hidden;
 extern int __strncasecmp_l (__const char *__s1, __const char *__s2,
 			  size_t __n, __locale_t __loc)
      __THROW __attribute_pure__ __nonnull ((1, 2, 4)) attribute_hidden;
@@ -1544,9 +1552,9 @@
 				__set_errno(0);
 				if (!ISSPACE(*buf)) { /* Signal an error if whitespace. */
 #ifdef TIME_T_IS_UNSIGNED
-					t = __XL(strtoul)(buf, &o, 10   __LOCALE_ARG);
+					t = __UCXL(strtoul)(buf, &o, 10   __LOCALE_ARG);
 #else
-					t = __XL(strtol)(buf, &o, 10   __LOCALE_ARG);
+					t = __UCXL(strtol)(buf, &o, 10   __LOCALE_ARG);
 #endif
 				}
 				if ((o == buf) || errno) { /* Not a number or overflow. */

Modified: trunk/uClibc/libc/misc/utmp/wtent.c
===================================================================
--- trunk/uClibc/libc/misc/utmp/wtent.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/utmp/wtent.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -17,6 +17,8 @@
  * write to the Free Software Foundation, Inc., 675 Mass Ave, 
  * Cambridge, MA 02139, USA.  */
 
+#define gettimeofday __gettimeofday
+
 #include <string.h>
 #include <sys/time.h>
 #include <time.h>

Modified: trunk/uClibc/libc/misc/wordexp/wordexp.c
===================================================================
--- trunk/uClibc/libc/misc/wordexp/wordexp.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/misc/wordexp/wordexp.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -31,6 +31,12 @@
 #define getpwuid_r __getpwuid_r
 #define execve __execve
 #define dup2 __dup2
+#define atoi __atoi
+#define fnmatch __fnmatch
+#if 0
+#define glob __glob
+#define globfree __globfree
+#endif
 
 #define _GNU_SOURCE
 #include <sys/cdefs.h>

Modified: trunk/uClibc/libc/pwd_grp/pwd_grp.c
===================================================================
--- trunk/uClibc/libc/pwd_grp/pwd_grp.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/pwd_grp/pwd_grp.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -19,6 +19,7 @@
  */
 
 #define setgroups __setgroups
+#define strtoul __strtoul
 
 #define _GNU_SOURCE
 #include <features.h>

Modified: trunk/uClibc/libc/stdlib/malloc/malloc_debug.c
===================================================================
--- trunk/uClibc/libc/stdlib/malloc/malloc_debug.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/stdlib/malloc/malloc_debug.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -11,6 +11,8 @@
  * Written by Miles Bader <miles at gnu.org>
  */
 
+#define atoi __atoi
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <unistd.h>

Modified: trunk/uClibc/libc/stdlib/ptsname.c
===================================================================
--- trunk/uClibc/libc/stdlib/ptsname.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/stdlib/ptsname.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -17,6 +17,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#define isatty __isatty
+
 #define _ISOC99_SOURCE
 #include <stdio.h>
 #include <errno.h>
@@ -86,7 +88,7 @@
 # error "__UNIX98PTY_ONLY__ enabled but TIOCGPTN ioctl not supported by your kernel."
 #endif
 #ifdef TIOCGPTN
-  if (ioctl (fd, TIOCGPTN, &ptyno) == 0)
+  if (__ioctl (fd, TIOCGPTN, &ptyno) == 0)
     {
       /* Buffer we use to print the number in. */
       char numbuf[__BUFLEN_INT10TOSTR];

Modified: trunk/uClibc/libc/stdlib/unlockpt.c
===================================================================
--- trunk/uClibc/libc/stdlib/unlockpt.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/stdlib/unlockpt.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -32,7 +32,7 @@
   int save_errno = errno;
   int unlock = 0;
 
-  if (ioctl (fd, TIOCSPTLCK, &unlock))
+  if (__ioctl (fd, TIOCSPTLCK, &unlock))
     {
       if (errno == EINVAL)
 	{

Modified: trunk/uClibc/libc/termios/tcgetattr.c
===================================================================
--- trunk/uClibc/libc/termios/tcgetattr.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/termios/tcgetattr.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -37,7 +37,7 @@
     struct __kernel_termios k_termios;
     int retval;
 
-    retval = ioctl (fd, TCGETS, &k_termios);
+    retval = __ioctl (fd, TCGETS, &k_termios);
 
     termios_p->c_iflag = k_termios.c_iflag;
     termios_p->c_oflag = k_termios.c_oflag;

Modified: trunk/uClibc/libc/termios/tcgetsid.c
===================================================================
--- trunk/uClibc/libc/termios/tcgetsid.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/termios/tcgetsid.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -40,7 +40,7 @@
 	int serrno = errno;
 	int sid;
 
-	if (ioctl (fd, TIOCGSID, &sid) < 0)
+	if (__ioctl (fd, TIOCGSID, &sid) < 0)
 	{
 	    if (errno == EINVAL)
 	    {

Modified: trunk/uClibc/libc/termios/tcsetattr.c
===================================================================
--- trunk/uClibc/libc/termios/tcsetattr.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/termios/tcsetattr.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -83,14 +83,14 @@
     __memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0],
 	    __KERNEL_NCCS * sizeof (cc_t));
 
-    retval = ioctl (fd, cmd, &k_termios);
+    retval = __ioctl (fd, cmd, &k_termios);
 
     if (retval == 0 && cmd == TCSETS)
     {
 	/* The Linux kernel has a bug which silently ignore the invalid
 	   c_cflag on pty. We have to check it here. */
 	int save = errno;
-	retval = ioctl (fd, TCGETS, &k_termios);
+	retval = __ioctl (fd, TCGETS, &k_termios);
 	if (retval)
 	{
 	    /* We cannot verify if the setting is ok. We don't return

Modified: trunk/uClibc/libc/termios/termios.c
===================================================================
--- trunk/uClibc/libc/termios/termios.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/termios/termios.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -35,11 +35,12 @@
 #ifdef L_isatty
 /* Return 1 if FD is a terminal, 0 if not.  */
 
-int isatty(int fd)
+int attribute_hidden __isatty(int fd)
 {
     struct termios term;
     return (tcgetattr (fd, &term) == 0);
 }
+strong_alias(__isatty,isatty)
 #endif
 
 #ifdef L_tcdrain
@@ -47,7 +48,7 @@
 int __libc_tcdrain (int fd)
 {
       /* With an argument of 1, TCSBRK waits for the output to drain.  */
-      return ioctl(fd, TCSBRK, 1);
+      return __ioctl(fd, TCSBRK, 1);
 }
 weak_alias(__libc_tcdrain, tcdrain)
 #endif
@@ -56,7 +57,7 @@
 /* Suspend or restart transmission on FD.  */
 int tcflow ( int fd, int action)
 {
-      return ioctl(fd, TCXONC, action);
+      return __ioctl(fd, TCXONC, action);
 }
 #endif
 
@@ -64,7 +65,7 @@
 /* Flush pending data on FD.  */
 int tcflush ( int fd, int queue_selector)
 {
-      return ioctl(fd, TCFLSH, queue_selector);
+      return __ioctl(fd, TCFLSH, queue_selector);
 }
 #endif
 
@@ -76,12 +77,12 @@
 	   and an implementation-defined period if DURATION is nonzero.
 	   We define a positive DURATION to be number of milliseconds to break.  */
 	if (duration <= 0)
-		return ioctl(fd, TCSBRK, 0);
+		return __ioctl(fd, TCSBRK, 0);
 
 #ifdef TCSBRKP
 	/* Probably Linux-specific: a positive third TCSBRKP ioctl argument is
 	   defined to be the number of 100ms units to break.  */
-	return ioctl(fd, TCSBRKP, (duration + 99) / 100);
+	return __ioctl(fd, TCSBRKP, (duration + 99) / 100);
 #else
 	/* ioctl can't send a break of any other duration for us.
 	   This could be changed to use trickery (e.g. lower speed and
@@ -96,7 +97,7 @@
 /* Set the foreground process group ID of FD set PGRP_ID.  */
 int tcsetpgrp ( int fd, pid_t pgrp_id)
 {
-      return ioctl (fd, TIOCSPGRP, &pgrp_id);
+      return __ioctl (fd, TIOCSPGRP, &pgrp_id);
 }
 #endif
 
@@ -106,7 +107,7 @@
 {
     int pgrp;
 
-    if (ioctl (fd, TIOCGPGRP, &pgrp) < 0)
+    if (__ioctl (fd, TIOCGPGRP, &pgrp) < 0)
 	return (pid_t) -1;
     return (pid_t) pgrp;
 }

Modified: trunk/uClibc/libc/termios/ttyname.c
===================================================================
--- trunk/uClibc/libc/termios/ttyname.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/termios/ttyname.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -1,3 +1,7 @@
+#define opendir __opendir
+#define closedir __closedir
+#define isatty __isatty
+
 #include <string.h>
 #include <errno.h>
 #include <assert.h>

Modified: trunk/uClibc/libc/unistd/daemon.c
===================================================================
--- trunk/uClibc/libc/unistd/daemon.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/unistd/daemon.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -25,6 +25,7 @@
 
 #define dup2 __dup2
 #define setsid __setsid
+#define chdir __chdir
 
 #include <stdio.h>
 #include <features.h>

Modified: trunk/uClibc/libc/unistd/exec.c
===================================================================
--- trunk/uClibc/libc/unistd/exec.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/unistd/exec.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -205,7 +205,7 @@
 	} while (--n);
 	va_end(args);
 
-	n = execvp(file, (char *const *) argv);
+	n = __execvp(file, (char *const *) argv);
 
 	EXEC_FREE(argv, size);
 

Modified: trunk/uClibc/libc/unistd/getpass.c
===================================================================
--- trunk/uClibc/libc/unistd/getpass.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/unistd/getpass.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -19,6 +19,7 @@
 #define setvbuf __setvbuf
 #define tcsetattr __tcsetattr
 #define tcgetattr __tcgetattr
+#define fileno __fileno
 
 #include <stdio.h>
 #include <string.h>

Modified: trunk/uClibc/libc/unistd/usershell.c
===================================================================
--- trunk/uClibc/libc/unistd/usershell.c	2005-12-08 15:02:02 UTC (rev 12748)
+++ trunk/uClibc/libc/unistd/usershell.c	2005-12-08 15:04:23 UTC (rev 12749)
@@ -31,6 +31,7 @@
  */
 
 #define __fsetlocking __fsetlocking_internal
+#define fileno __fileno
 
 #define _GNU_SOURCE
 #include <sys/param.h>




More information about the uClibc-cvs mailing list