diff options
author | des <des@FreeBSD.org> | 2009-06-12 23:39:05 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2009-06-12 23:39:05 +0000 |
commit | f27ad68328ccf8ec36c6eba415b3e4868d7dcb99 (patch) | |
tree | 8978a826a417833f409a669f1da5a10eb1b269bc /usr.sbin/nscd/agent.h | |
parent | 70758298f7f5dd8d21972f0511c012a4a9824fba (diff) | |
download | FreeBSD-src-f27ad68328ccf8ec36c6eba415b3e4868d7dcb99.zip FreeBSD-src-f27ad68328ccf8ec36c6eba415b3e4868d7dcb99.tar.gz |
Provide correct prototypes for functions with no arguments.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/nscd/agent.h')
-rw-r--r-- | usr.sbin/nscd/agent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/nscd/agent.h b/usr.sbin/nscd/agent.h index ebe8974..e10901e 100644 --- a/usr.sbin/nscd/agent.h +++ b/usr.sbin/nscd/agent.h @@ -53,7 +53,7 @@ struct common_agent { struct multipart_agent { struct agent parent; - void *(*mp_init_func)(); + void *(*mp_init_func)(void); int (*mp_lookup_func)(char **, size_t *, void *); void (*mp_destroy_func)(void *); }; @@ -63,7 +63,7 @@ struct agent_table { size_t agents_num; }; -extern struct agent_table *init_agent_table(); +extern struct agent_table *init_agent_table(void); extern void register_agent(struct agent_table *, struct agent *); extern struct agent *find_agent(struct agent_table *, const char *, enum agent_type); |