diff options
author | 2002-08-30 08:24:55 +0000 | |
---|---|---|
committer | 2002-08-30 08:24:55 +0000 | |
commit | 473461de09428e480606043e6d2406dcf2e236ff (patch) | |
tree | 8055f38446be4ed9dafb14cca33056b747620727 | |
parent | plug mbuf leak. (diff) | |
download | wireguard-openbsd-473461de09428e480606043e6d2406dcf2e236ff.tar.xz wireguard-openbsd-473461de09428e480606043e6d2406dcf2e236ff.zip |
Put sentinel back in.
-rw-r--r-- | include/unistd.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/unistd.h b/include/unistd.h index b3fb4241a52..49112b95ab7 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unistd.h,v 1.39 2002/06/07 03:11:31 miod Exp $ */ +/* $OpenBSD: unistd.h,v 1.40 2002/08/30 08:24:55 espie Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- @@ -66,9 +66,12 @@ size_t confstr(int, char *, size_t); char *cuserid(char *); int dup(int); int dup2(int, int); -int execl(const char *, const char *, ...); -int execle(const char *, const char *, ...); -int execlp(const char *, const char *, ...); +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 execv(const char *, char * const *); int execve(const char *, char * const *, char * const *); int execvp(const char *, char * const *); |