diff --git a/src/include/bsd_auth.h b/src/include/bsd_auth.h index 0caf6dc6..19c5fbc9 100644 --- a/src/include/bsd_auth.h +++ b/src/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/src/include/pwd.h b/src/include/pwd.h index 06a11afa..6a532200 100644 --- a/src/include/pwd.h +++ b/src/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/src/include/unistd.h b/src/include/unistd.h index ec017115..ffec1538 100644 --- a/src/include/unistd.h +++ b/src/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 */