summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-04-21 11:28:27 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-04-21 11:28:27 +0000
commit3318b9d45c118455136019a95e2082f6f26be5b7 (patch)
tree90ed0ac3273675ee8841be3561f01a1d3395f50b /include
parent3bdb907510d367f7840eeca945b92fa4776d2edf (diff)
Use internal '__' names for __attributes__ in public headers
Diffstat (limited to 'include')
-rw-r--r--include/bsd_auth.h6
-rw-r--r--include/unistd.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/bsd_auth.h b/include/bsd_auth.h
index 31cb5af8d5f..0caf6dc6167 100644
--- a/include/bsd_auth.h
+++ b/include/bsd_auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsd_auth.h,v 1.9 2006/01/06 18:53:04 millert Exp $ */
+/* $OpenBSD: bsd_auth.h,v 1.10 2014/04/21 11:27:34 guenther Exp $ */
/*-
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@@ -61,7 +61,7 @@ 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));
+ __attribute__((__sentinel__));
auth_session_t *auth_userchallenge(char *, char *, char *, char **);
auth_session_t *auth_usercheck(char *, char *, char *, char *);
@@ -81,7 +81,7 @@ void auth_clrenv(auth_session_t *);
void auth_setstate(auth_session_t *, int);
int auth_call(auth_session_t *, char *, ...)
- __attribute__((sentinel));
+ __attribute__((__sentinel__));
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 9e729315312..1ba25f421f3 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.84 2014/04/01 05:04:50 matthew Exp $ */
+/* $OpenBSD: unistd.h,v 1.85 2014/04/21 11:28:26 guenther Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@@ -340,10 +340,10 @@ int close(int);
int dup(int);
int dup2(int, int);
int execl(const char *, const char *, ...)
- __attribute__((sentinel));
+ __attribute__((__sentinel__));
int execle(const char *, const char *, ...);
int execlp(const char *, const char *, ...)
- __attribute__((sentinel));
+ __attribute__((__sentinel__));
int execv(const char *, char *const *);
int execve(const char *, char *const *, char *const *);
int execvp(const char *, char *const *);