summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv/yp_extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ypserv/yp_extern.h')
-rw-r--r--usr.sbin/ypserv/yp_extern.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/usr.sbin/ypserv/yp_extern.h b/usr.sbin/ypserv/yp_extern.h
index 75d2dd3..553e296 100644
--- a/usr.sbin/ypserv/yp_extern.h
+++ b/usr.sbin/ypserv/yp_extern.h
@@ -71,45 +71,45 @@ extern char *yp_dir;
extern pid_t yp_pid;
extern enum ypstat yp_errno;
-extern void yp_error __P((const char *, ...)) __printflike(1, 2);
+extern void yp_error(const char *, ...) __printflike(1, 2);
#ifdef DB_CACHE
-extern int yp_get_record __P(( DB *, const DBT *, DBT *, int));
+extern int yp_get_record(DB *, const DBT *, DBT *, int);
#else
-extern int yp_get_record __P(( const char *, const char *, const DBT *, DBT *, int));
+extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int);
#endif
-extern int yp_first_record __P((const DB *, DBT *, DBT *, int));
-extern int yp_next_record __P((const DB *, DBT *, DBT *, int, int));
-extern char *yp_dnsname __P(( char * ));
-extern char *yp_dnsaddr __P(( const char * ));
+extern int yp_first_record(const DB *, DBT *, DBT *, int);
+extern int yp_next_record(const DB *, DBT *, DBT *, int, int);
+extern char *yp_dnsname(char *);
+extern char *yp_dnsaddr(const char *);
#ifdef DB_CACHE
-extern int yp_access __P((const char *, const char *, const struct svc_req * ));
+extern int yp_access(const char *, const char *, const struct svc_req *);
#else
-extern int yp_access __P((const char *, const struct svc_req * ));
+extern int yp_access(const char *, const struct svc_req *);
#endif
-extern int yp_validdomain __P((const char * ));
-extern DB *yp_open_db __P(( const char *, const char *));
-extern DB *yp_open_db_cache __P(( const char *, const char *, const char *, int ));
-extern void yp_flush_all __P(( void ));
-extern void yp_init_dbs __P(( void ));
-extern int yp_testflag __P(( char *, char *, int ));
-extern void load_securenets __P(( void ));
+extern int yp_validdomain(const char *);
+extern DB *yp_open_db(const char *, const char *);
+extern DB *yp_open_db_cache(const char *, const char *, const char *, int);
+extern void yp_flush_all(void);
+extern void yp_init_dbs(void);
+extern int yp_testflag(char *, char *, int);
+extern void load_securenets(void);
#ifdef DB_CACHE
-extern ypstat yp_select_map __P(( char *, char *, keydat *, int ));
-extern ypstat yp_getbykey __P(( keydat *, valdat * ));
-extern ypstat yp_firstbykey __P(( keydat *, valdat * ));
-extern ypstat yp_nextbykey __P(( keydat *, valdat * ));
+extern ypstat yp_select_map(char *, char *, keydat *, int);
+extern ypstat yp_getbykey(keydat *, valdat *);
+extern ypstat yp_firstbykey(keydat *, valdat *);
+extern ypstat yp_nextbykey(keydat *, valdat *);
#endif
-extern unsigned long svcudp_set_xid __P(( SVCXPRT *, unsigned long ));
-extern unsigned long svcudp_get_xid __P(( SVCXPRT * ));
+extern unsigned long svcudp_set_xid(SVCXPRT *, unsigned long);
+extern unsigned long svcudp_get_xid(SVCXPRT *);
#ifndef RESOLVER_TIMEOUT
#define RESOLVER_TIMEOUT 3600
#endif
-extern int yp_init_resolver __P(( void ));
-extern void yp_run_dnsq __P(( void ));
-extern void yp_prune_dnsq __P(( void ));
-extern ypstat yp_async_lookup_name __P(( struct svc_req *, char * ));
-extern ypstat yp_async_lookup_addr __P(( struct svc_req *, char * ));
+extern int yp_init_resolver(void);
+extern void yp_run_dnsq(void);
+extern void yp_prune_dnsq(void);
+extern ypstat yp_async_lookup_name(struct svc_req *, char *);
+extern ypstat yp_async_lookup_addr(struct svc_req *, char *);
OpenPOWER on IntegriCloud