Browse Source

As per style.9, prototypes should not have variable names associated

with the types.
OK jca@
OPENBSD_6_1
fcambus 7 years ago
parent
commit
3dde567fdc
3 changed files with 8 additions and 8 deletions
  1. +2
    -2
      src/include/bsd_auth.h
  2. +4
    -4
      src/include/pwd.h
  3. +2
    -2
      src/include/unistd.h

+ 2
- 2
src/include/bsd_auth.h View File

@ -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 *);


+ 4
- 4
src/include/pwd.h View File

@ -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);


+ 2
- 2
src/include/unistd.h View File

@ -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 */


Loading…
Cancel
Save