summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-06-07 03:11:31 +0000
committermiod <miod@openbsd.org>2002-06-07 03:11:31 +0000
commitfd94d1c80cf6b683a832e0408b3eb8b9b3630040 (patch)
treef1bc2baee20ab362320f7005551a284080ce860b
parentset_progname/get_progname cleanup (diff)
downloadwireguard-openbsd-fd94d1c80cf6b683a832e0408b3eb8b9b3630040.tar.xz
wireguard-openbsd-fd94d1c80cf6b683a832e0408b3eb8b9b3630040.zip
Backout previous change. Since it requires people to upgrade gcc, we want
to give them a larger timeslot to do that. Requested by deraadt@ and various people on icb or vocally.
-rw-r--r--include/bsd_auth.h9
-rw-r--r--include/unistd.h11
2 files changed, 7 insertions, 13 deletions
diff --git a/include/bsd_auth.h b/include/bsd_auth.h
index 1b775a215bf..3df28950ca0 100644
--- a/include/bsd_auth.h
+++ b/include/bsd_auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsd_auth.h,v 1.6 2002/06/05 19:27:50 espie Exp $ */
+/* $OpenBSD: bsd_auth.h,v 1.7 2002/06/07 03:11:31 miod Exp $ */
/*-
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@@ -58,9 +58,7 @@ char *auth_getitem(auth_session_t *, auth_item_t);
int auth_setitem(auth_session_t *, auth_item_t, char *);
auth_session_t *auth_open(void);
-auth_session_t *auth_verify(auth_session_t *, char *, char *, ...)
- __attribute__((sentinel));
-
+auth_session_t *auth_verify(auth_session_t *, char *, char *, ...);
auth_session_t *auth_userchallenge(char *, char *, char *, char **);
auth_session_t *auth_usercheck(char *, char *, char *, char *);
@@ -78,8 +76,7 @@ void auth_setenv(auth_session_t *);
void auth_clrenv(auth_session_t *);
void auth_setstate(auth_session_t *, int);
-int auth_call(auth_session_t *, char *, ...)
- __attribute__((sentinel));
+int auth_call(auth_session_t *, char *, ...);
int auth_setdata(auth_session_t *, void *, size_t);
int auth_setoption(auth_session_t *, char *, char *);
diff --git a/include/unistd.h b/include/unistd.h
index 0611959601d..b3fb4241a52 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.38 2002/06/05 19:27:50 espie Exp $ */
+/* $OpenBSD: unistd.h,v 1.39 2002/06/07 03:11:31 miod Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@@ -66,12 +66,9 @@ size_t confstr(int, char *, size_t);
char *cuserid(char *);
int dup(int);
int dup2(int, int);
-int execl(const char *, const char *, ...)
- __attribute__((sentinel));
-int execle(const char *, const char *, ...)
- __attribute__((sentinel));
-int execlp(const char *, const char *, ...)
- __attribute__((sentinel));
+int execl(const char *, const char *, ...);
+int execle(const char *, const char *, ...);
+int execlp(const char *, const char *, ...);
int execv(const char *, char * const *);
int execve(const char *, char * const *, char * const *);
int execvp(const char *, char * const *);