]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix some nit warnings.
authorRoland McGrath <roland@hack.frob.com>
Sat, 8 Oct 2011 22:25:08 +0000 (15:25 -0700)
committerRoland McGrath <roland@hack.frob.com>
Sat, 8 Oct 2011 22:25:08 +0000 (15:25 -0700)
ChangeLog
nscd/nscd_proto.h
nss/getent.c
sysdeps/ieee754/flt-32/s_isinf_nsf.c

index 57a72ca87df1aadbb12c059ba1cfe6ddb7ad8921..abb83dda1d1e8ac11897e09510f87a0ee7f1af2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-08  Roland McGrath  <roland@hack.frob.com>
+
+       * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
+
+       * nss/getent.c (netgroup_keys): Remove unused variable.
+       * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
+
 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
 
        * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
index 8aa29732ef32b96c117c61e1cb33841e62349f6b..742c154facbdde626081fea23475b1bc37716351 100644 (file)
@@ -74,5 +74,7 @@ extern int __nscd_getservbyport_r (int port, const char *proto,
                                   size_t buflen, struct servent **result);
 extern int __nscd_innetgr (const char *netgroup, const char *host,
                           const char *user, const char *domain);
+extern int __nscd_setnetgrent (const char *group, struct __netgrent *datap);
+
 
 #endif /* _NSCD_PROTO_H */
index b843433ed662c68cc35dc151c2f134f27e8f3841..7d9422373ceea7e5d202c0e8fcbcfb92eb690ffa 100644 (file)
@@ -472,7 +472,6 @@ static int
 netgroup_keys (int number, char *key[])
 {
   int result = 0;
-  int i;
 
   if (number == 0)
     {
index bc37785168f58c02eadeb3d6aaced72e89dafecb..1e46e2ce4a39c3e48962981e651c3fa492133956 100644 (file)
@@ -14,7 +14,7 @@
 int
 __isinf_nsf (float x)
 {
-       int32_t ix,t;
+       int32_t ix;
        GET_FLOAT_WORD(ix,x);
        return (ix & 0x7fffffff) == 0x7f800000;
 }