diff options
author | Frederic Cambus <fcambus@cvs.openbsd.org> | 2017-03-09 10:13:04 +0000 |
---|---|---|
committer | Frederic Cambus <fcambus@cvs.openbsd.org> | 2017-03-09 10:13:04 +0000 |
commit | fe1146f940490770a9ce080f902d31b3aff02cbc (patch) | |
tree | 7bae8506ceeb79acd9083344bbd9fba23eba7319 /include | |
parent | 152d33b3a6a82b732ead52fb98667c468014577f (diff) |
As per style.9, prototypes should not have variable names associated
with the types.
OK jca@
Diffstat (limited to 'include')
-rw-r--r-- | include/bsd_auth.h | 4 | ||||
-rw-r--r-- | include/pwd.h | 8 | ||||
-rw-r--r-- | include/unistd.h | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/include/bsd_auth.h b/include/bsd_auth.h index 0caf6dc6167..19c5fbc9cc8 100644 --- a/include/bsd_auth.h +++ b/include/bsd_auth.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bsd_auth.h,v 1.10 2014/04/21 11:27:34 guenther Exp $ */ +/* $OpenBSD: bsd_auth.h,v 1.11 2017/03/09 10:13:03 fcambus Exp $ */ /*- * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. @@ -85,7 +85,7 @@ int auth_call(auth_session_t *, char *, ...) int auth_setdata(auth_session_t *, void *, size_t); int auth_setoption(auth_session_t *, char *, char *); -int auth_setpwd(auth_session_t *, struct passwd *pwd); +int auth_setpwd(auth_session_t *, struct passwd *); void auth_set_va_list(auth_session_t *, __va_list); struct passwd *auth_getpwd(auth_session_t *); diff --git a/include/pwd.h b/include/pwd.h index 06a11afa74c..6a532200594 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pwd.h,v 1.24 2015/11/18 16:44:46 tedu Exp $ */ +/* $OpenBSD: pwd.h,v 1.25 2017/03/09 10:13:03 fcambus Exp $ */ /* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */ /*- @@ -96,9 +96,9 @@ struct passwd *getpwnam(const char *); struct passwd *getpwuid_shadow(uid_t); struct passwd *getpwnam_shadow(const char *); int getpwnam_r(const char *, struct passwd *, char *, size_t, - struct passwd **result); -int getpwuid_r(uid_t uid, struct passwd *, char *buf, size_t buflen, - struct passwd **result); + struct passwd **); +int getpwuid_r(uid_t, struct passwd *, char *, size_t, + struct passwd **); #if __BSD_VISIBLE || __XPG_VISIBLE struct passwd *getpwent(void); void setpwent(void); diff --git a/include/unistd.h b/include/unistd.h index ec017115a8c..ffec1538f44 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.103 2016/09/12 19:36:26 guenther Exp $ */ +/* $OpenBSD: unistd.h,v 1.104 2017/03/09 10:13:03 fcambus Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -522,7 +522,7 @@ int strtofflags(char **, u_int32_t *, u_int32_t *); int swapctl(int cmd, const void *arg, int misc); int syscall(int, ...); int getentropy(void *, size_t); -int pledge(const char *, const char **paths); +int pledge(const char *, const char **); pid_t __tfork_thread(const struct __tfork *, size_t, void (*)(void *), void *); #endif /* __BSD_VISIBLE */ |