diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-22 09:22:15 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-22 09:22:15 +0000 |
commit | e2881f49cc545371650e022bf57db9fee6d9f8c9 (patch) | |
tree | 940c5b6971ca7a1e0ccd4772f07ad6694c595c70 /lib/libutil | |
parent | 700cd85b2e27d1f9b06fa6fea221100cc8d47e6f (diff) | |
download | FreeBSD-src-e2881f49cc545371650e022bf57db9fee6d9f8c9.zip FreeBSD-src-e2881f49cc545371650e022bf57db9fee6d9f8c9.tar.gz |
Remove multi-line __P() usage.
Diffstat (limited to 'lib/libutil')
-rw-r--r-- | lib/libutil/libutil.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index e24f37d..e7067c4 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -49,17 +49,16 @@ struct in_addr; __BEGIN_DECLS int extattr_namespace_to_string(int _attrnamespace, char **_string); -int extattr_string_to_namespace __P((const char *_string, - int *_attrnamespace)); +int extattr_string_to_namespace(const char *_string, int *_attrnamespace); void login(struct utmp *_ut); int login_tty(int _fd); int logout(const char *_line); void logwtmp(const char *_line, const char *_name, const char *_host); void trimdomain(char *_fullhost, int _hostsize); -int openpty __P((int *_amaster, int *_aslave, char *_name, - struct termios *_termp, struct winsize *_winp)); -int forkpty __P((int *_amaster, char *_name, - struct termios *_termp, struct winsize *_winp)); +int openpty(int *_amaster, int *_aslave, char *_name, + struct termios *_termp, struct winsize *_winp); +int forkpty(int *_amaster, char *_name, + struct termios *_termp, struct winsize *_winp); const char *uu_lockerr(int _uu_lockresult); int uu_lock(const char *_ttyname); int uu_unlock(const char *_ttyname); @@ -71,8 +70,8 @@ char *property_find(properties list, const char *name); char *auth_getval(const char *name); int realhostname(char *host, size_t hsize, const struct in_addr *ip); struct sockaddr; -int realhostname_sa __P((char *host, size_t hsize, struct sockaddr *addr, - int addrlen)); +int realhostname_sa(char *host, size_t hsize, struct sockaddr *addr, + int addrlen); #ifdef _STDIO_H_ /* avoid adding new includes */ char *fparseln(FILE *, size_t *, size_t *, const char[3], int); #endif |