summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-08-30 08:24:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-08-30 08:24:56 +0000
commita1bf7c3e98fb1f5324b521fb7a1c2cdb9b1f11b5 (patch)
tree29618fd0478a2a8837ce5958391041f958918bbb /include
parent4a376d8cab62d175d2c9c1dfbb06f63622493cca (diff)
Put sentinel back in.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h11
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 *);