diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-04-15 21:06:24 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-04-15 21:06:24 +0000 |
commit | 8befdf8450a7aa1c728ff227f74cf18c5315367d (patch) | |
tree | f51cfc17d1b2437a4d88055f4ffc23542d1e184e /lib | |
parent | 90157d0f40fa6068eb3db0dd3b73d4026cc20c0f (diff) |
Document PROTO_NORMAL requires matching DEF_{,NON}STD
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librthread/pthread.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/librthread/pthread.h b/lib/librthread/pthread.h index 2510c34789a..cc656fb8440 100644 --- a/lib/librthread/pthread.h +++ b/lib/librthread/pthread.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pthread.h,v 1.2 2016/04/15 17:54:17 tedu Exp $ */ +/* $OpenBSD: pthread.h,v 1.3 2016/04/15 21:06:23 guenther Exp $ */ /* * Copyright (c) 2016 Philip Guenther <guenther@openbsd.org> * @@ -20,6 +20,11 @@ #include_next <pthread.h> +/* + * Functions with PROTO_NORMAL() here MUST have matching + * DEF_STD() or DEF_NONSTD() in the file where they are defined! + */ + PROTO_STD_DEPRECATED(pthread_attr_destroy); PROTO_STD_DEPRECATED(pthread_attr_getdetachstate); PROTO_STD_DEPRECATED(pthread_attr_getguardsize); |