mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-10-28 23:34:53 +03:00 
			
		
		
		
	Fix some nit warnings.
This commit is contained in:
		| @@ -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> | 2011-10-08  Ulrich Drepper  <drepper@gmail.com> | ||||||
|  |  | ||||||
| 	* include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl. | 	* include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl. | ||||||
|   | |||||||
| @@ -74,5 +74,7 @@ extern int __nscd_getservbyport_r (int port, const char *proto, | |||||||
| 				   size_t buflen, struct servent **result); | 				   size_t buflen, struct servent **result); | ||||||
| extern int __nscd_innetgr (const char *netgroup, const char *host, | extern int __nscd_innetgr (const char *netgroup, const char *host, | ||||||
| 			   const char *user, const char *domain); | 			   const char *user, const char *domain); | ||||||
|  | extern int __nscd_setnetgrent (const char *group, struct __netgrent *datap); | ||||||
|  |  | ||||||
|  |  | ||||||
| #endif /* _NSCD_PROTO_H */ | #endif /* _NSCD_PROTO_H */ | ||||||
|   | |||||||
| @@ -472,7 +472,6 @@ static int | |||||||
| netgroup_keys (int number, char *key[]) | netgroup_keys (int number, char *key[]) | ||||||
| { | { | ||||||
|   int result = 0; |   int result = 0; | ||||||
|   int i; |  | ||||||
|  |  | ||||||
|   if (number == 0) |   if (number == 0) | ||||||
|     { |     { | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ | |||||||
| int | int | ||||||
| __isinf_nsf (float x) | __isinf_nsf (float x) | ||||||
| { | { | ||||||
| 	int32_t ix,t; | 	int32_t ix; | ||||||
| 	GET_FLOAT_WORD(ix,x); | 	GET_FLOAT_WORD(ix,x); | ||||||
| 	return (ix & 0x7fffffff) == 0x7f800000; | 	return (ix & 0x7fffffff) == 0x7f800000; | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user