svn commit: trunk/uClibc/libc/pwd_grp
vapier at uclibc.org
vapier at uclibc.org
Sat Dec 10 03:52:03 UTC 2005
Author: vapier
Date: 2005-12-09 19:51:24 -0800 (Fri, 09 Dec 2005)
New Revision: 12801
Log:
fix some warnings
Modified:
trunk/uClibc/libc/pwd_grp/lckpwdf.c
trunk/uClibc/libc/pwd_grp/pwd_grp.c
Changeset:
Modified: trunk/uClibc/libc/pwd_grp/lckpwdf.c
===================================================================
--- trunk/uClibc/libc/pwd_grp/lckpwdf.c 2005-12-10 03:48:33 UTC (rev 12800)
+++ trunk/uClibc/libc/pwd_grp/lckpwdf.c 2005-12-10 03:51:24 UTC (rev 12801)
@@ -176,7 +176,7 @@
}
-static void noop_handler (int sig)
+static void noop_handler (attribute_unused int sig)
{
/* We simply return which makes the `fcntl' call return with an error. */
}
Modified: trunk/uClibc/libc/pwd_grp/pwd_grp.c
===================================================================
--- trunk/uClibc/libc/pwd_grp/pwd_grp.c 2005-12-10 03:48:33 UTC (rev 12800)
+++ trunk/uClibc/libc/pwd_grp/pwd_grp.c 2005-12-10 03:51:24 UTC (rev 12801)
@@ -844,7 +844,7 @@
static const char ld_format[] = "%ld:";
const char *f;
long int x;
- int i;
+ size_t i;
int rv = -1;
__STDIO_AUTO_THREADLOCK_VAR;
@@ -1126,7 +1126,7 @@
int attribute_hidden __pgsreader(int (*__parserfunc)(void *d, char *line), void *data,
char *__restrict line_buff, size_t buflen, FILE *f)
{
- int line_len;
+ size_t line_len;
int skip;
int rv = ERANGE;
__STDIO_AUTO_THREADLOCK_VAR;
More information about the uClibc-cvs
mailing list