1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
openbsd-src/include
jca 0967fc9724 Move ctype.h defines to the _CTYPE_ prefix, avoids clashes with identifiers in ports
Even if those _[BCNLPSUX] defines are in the reserved namespace, some
ports make use of those identifiers and thus need pointless
headscratching and patches.  Just use a longer reserved prefix.
We can't just #undef those defines as they are used in libc.

Change similar to what NetBSD did around 2010.  Went through base builds
and an amd64 bulk build, the only fallout was lib(e)stdc++ base_ctype.h.
"make includes" will install the latest ctype.h and libstdc++ ctype_base.h.

"makes sense" deraadt@, ok sthen@ tb@
2024-02-04 13:03:18 +00:00
..
arpa spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
protocols Rearrange variables in dump / restore to handle -fno-common. 2021-01-21 00:16:36 +00:00
rpc spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
rpcsvc spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
a.out.h
ar.h
asr.h Allow the caller of asr functions to create and use a specific context. 2019-10-24 05:57:41 +00:00
assert.h Use __STDC_VERSION__ instead of __ISO_C_VISIBLE to guard _Static_assert. 2020-09-06 12:57:25 +00:00
bitstring.h Use a double-underscore prefix for local variables declared in macros 2020-05-10 00:56:06 +00:00
blf.h Niels agreed to remove the advertising clause; switching these 2021-11-29 01:04:45 +00:00
bsd_auth.h As per style.9, prototypes should not have variable names associated 2017-03-09 10:13:03 +00:00
complex.h
cpio.h
ctype.h Move ctype.h defines to the _CTYPE_ prefix, avoids clashes with identifiers in ports 2024-02-04 13:03:18 +00:00
curses.h I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
db.h Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapper 2015-10-17 21:48:42 +00:00
dirent.h Move the 10 (!) defintions of NULL to their own mini header file and 2016-09-09 18:12:37 +00:00
dlfcn.h Add #define for RTLD_NOLOAD missed in last ld.so commit. 2022-08-20 17:39:22 +00:00
elf_abi.h
elf.h <elf.h> should make it easier to port our ELF-related tools to other Unices. 2017-10-17 09:34:52 +00:00
err.h Add framework for resolving (pun intended) libc namespace issues, using 2015-08-31 02:53:56 +00:00
errno.h ___errno (three underbars) is long gone 2017-08-10 13:34:46 +00:00
fenv.h
float.h
fnmatch.h
fstab.h
fts.h
ftw.h I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
getopt.h
glob.h Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX. 2019-02-04 16:45:40 +00:00
grp.h Add uid_from_user() and gid_from_group(), derived from pax's cache.c. 2018-09-13 12:31:15 +00:00
icdb.h Make the key sizes and offsets arrays const, ok tedu 2016-09-04 14:51:39 +00:00
ieeefp.h
ifaddrs.h
inttypes.h POSIX 2008 TC2 requires <inttypes.h> to provide wchar_t 2022-07-31 01:27:31 +00:00
iso646.h
kvm.h
langinfo.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00
libgen.h Align the basename(3) and dirname(3) prototypes with the POSIX spec: 2020-10-20 19:30:14 +00:00
limits.h
link_elf.h When it's the possessive of 'it', it's spelled "its", without the 2022-01-28 04:59:15 +00:00
link.h
locale.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00
login_cap.h add rtable capability to login.conf. 2022-03-01 01:22:11 +00:00
Makefile Provide C11 <uchar.h>. 2023-08-20 15:02:50 +00:00
math.h Implement sicos(3), sincosf(3) and sincosl(3). These functions are common 2018-03-10 20:52:58 +00:00
md5.h
memory.h
ndbm.h
netdb.h
netgroup.h Christos Zoulas agreed to rescind clause 3 and 4 in 2023-01-04 13:00:11 +00:00
nl_types.h
nlist.h
paths.h add /usr/local/sbin. ok deraadt millert 2019-07-11 03:54:17 +00:00
poll.h
pthread_np.h Include pthread.h to make this header standalone (needs pthread_t and others) 2019-05-28 10:33:03 +00:00
pthread.h #define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch 2018-03-05 01:15:24 +00:00
pwd.h Add uid_from_user() and gid_from_group(), derived from pax's cache.c. 2018-09-13 12:31:15 +00:00
ranlib.h
readpassphrase.h I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
regex.h
resolv.h Implement rfc6840 (AD flag processing) if using trusted name servers 2021-11-22 20:18:27 +00:00
rmd160.h
sched.h Move the thread-related .h files to /usr/src/include/, since the 2017-10-15 23:40:33 +00:00
search.h
semaphore.h Move the thread-related .h files to /usr/src/include/, since the 2017-10-15 23:40:33 +00:00
setjmp.h Stop supporting longjmperror(); it's not used, not portable, and the checks 2016-05-23 00:18:56 +00:00
sha1.h
sha2.h i forgot to commit sha2.h changes for SHA512/256 2016-09-03 17:00:29 +00:00
signal.h The open POSIX test suite reveals that sigpause(int sigmask) from 2018-05-30 13:20:38 +00:00
siphash.h spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
sndio.h Add sio_flush(3) function to stop playback immediately 2022-04-29 08:30:48 +00:00
spawn.h Remove function argument name from posix_spawnattr_getsigmask() 2015-05-20 22:50:07 +00:00
stdbool.h These days pcc defines __GNUC__ and we don't support gcc2. Also needed 2015-09-04 23:47:09 +00:00
stddef.h Add max_align_t. 2017-01-06 14:36:50 +00:00
stdio.h funopen(): change seekfn argument to use off_t, not fpos_t 2022-01-05 20:57:27 +00:00
stdlib.h Inroduce malloc_conceal() and calloc_conceal(). Similar to their 2019-05-10 15:03:24 +00:00
string.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00
strings.h str[n]casecmp_l(3) appeared in POSIX 2008, not in XPG 4; 2017-09-10 21:50:36 +00:00
sysexits.h
tar.h
tgmath.h
tib.h Make sure TIB_INIT correctly initializes tib_thread_flags; regression 2023-12-08 19:14:36 +00:00
time.h Move CLOCKS_PER_SEC to sys/_time.h so the kernel has access to it. 2022-10-25 16:30:30 +00:00
ttyent.h
uchar.h According to the C11 standard, char32_t and char16_t are not part 2023-09-05 23:16:01 +00:00
unistd.h remove support for syscall(2) -- the "indirection system call" because 2023-12-12 15:30:55 +00:00
utime.h
utmp.h
uuid.h
vis.h Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@ 2015-07-20 01:52:27 +00:00
wchar.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00
wctype.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00