Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Add __null_sentinel



details:   https://anonhg.NetBSD.org/src/rev/ca033a7d3e21
branches:  trunk
changeset: 946620:ca033a7d3e21
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 04 20:39:10 2020 +0000

description:
Add __null_sentinel

diffstat:

 include/unistd.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 98817404bc29 -r ca033a7d3e21 include/unistd.h
--- a/include/unistd.h  Fri Dec 04 20:38:44 2020 +0000
+++ b/include/unistd.h  Fri Dec 04 20:39:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.159 2020/09/22 21:37:47 nia Exp $ */
+/*     $NetBSD: unistd.h,v 1.160 2020/12/04 20:39:10 christos Exp $    */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -102,9 +102,9 @@
 #endif /* __CUSERID_DECLARED */
 int     dup(int);
 int     dup2(int, int);
-int     execl(const char *, const char *, ...);
+int     execl(const char *, const char *, ...) __null__sentinel;
 int     execle(const char *, const char *, ...);
-int     execlp(const char *, const char *, ...);
+int     execlp(const char *, const char *, ...) __null_sentinel;
 int     execv(const char *, char * const *);
 int     execve(const char *, char * const *, char * const *);
 int     execvp(const char *, char * const *);



Home | Main Index | Thread Index | Old Index