mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Avoid unused static function warning in nsswitch.c.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-09-28 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* nss/nsswitch.c (nss_new_service): Conditionalize definition on
|
||||||
|
[!DO_STATIC_NSS || SHARED], matching its only caller.
|
||||||
|
|
||||||
2012-09-28 David S. Miller <davem@davemloft.net>
|
2012-09-28 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
||||||
|
@ -786,6 +786,7 @@ nss_getline (char *line)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined DO_STATIC_NSS || defined SHARED
|
||||||
static service_library *
|
static service_library *
|
||||||
internal_function
|
internal_function
|
||||||
nss_new_service (name_database *database, const char *name)
|
nss_new_service (name_database *database, const char *name)
|
||||||
@ -810,6 +811,7 @@ nss_new_service (name_database *database, const char *name)
|
|||||||
|
|
||||||
return *currentp;
|
return *currentp;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined SHARED && defined USE_NSCD
|
#if defined SHARED && defined USE_NSCD
|
||||||
|
Reference in New Issue
Block a user