* lib/nscd.c, lib/nscd.h: Set the service parameter of
nscd_flush_cache() to const. This avoids a lot of warnings. * lib/nscd.c: Include "nscd.h" to avoid inconsistent prototypes.
This commit is contained in:
@ -4,6 +4,6 @@
|
||||
/*
|
||||
* nscd_flush_cache - flush specified service buffer in nscd cache
|
||||
*/
|
||||
extern int nscd_flush_cache (char *service);
|
||||
extern int nscd_flush_cache (const char *service);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user