summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjmc <>2016-03-30 06:38:43 +0000
committerjmc <>2016-03-30 06:38:43 +0000
commit7c7abd4b1c73f1ce287c615686f98d4ce72cebad (patch)
tree7c73c9a2734b8ffd41fd8c25c26a1ed9c4a18c07 /src/lib/libc
parent6b10601e1e787194a445062733084548302d8eb4 (diff)
downloadopenbsd-7c7abd4b1c73f1ce287c615686f98d4ce72cebad.tar.gz
openbsd-7c7abd4b1c73f1ce287c615686f98d4ce72cebad.tar.bz2
openbsd-7c7abd4b1c73f1ce287c615686f98d4ce72cebad.zip
for some time now mandoc has not required MLINKS to function
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/crypt/Makefile.inc9
-rw-r--r--src/lib/libc/net/Makefile.inc55
-rw-r--r--src/lib/libc/stdlib/Makefile.inc30
-rw-r--r--src/lib/libc/string/Makefile.inc22
4 files changed, 4 insertions, 112 deletions
diff --git a/src/lib/libc/crypt/Makefile.inc b/src/lib/libc/crypt/Makefile.inc
index bdca0bbf66..e9263b09fe 100644
--- a/src/lib/libc/crypt/Makefile.inc
+++ b/src/lib/libc/crypt/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.26 2014/12/08 20:46:04 tedu Exp $ 1# $OpenBSD: Makefile.inc,v 1.27 2016/03/30 06:38:41 jmc Exp $
2 2
3.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/crypt ${LIBCSRCDIR}/crypt 3.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/crypt ${LIBCSRCDIR}/crypt
4 4
@@ -6,10 +6,3 @@ SRCS+= crypt.c cryptutil.c arc4random.c arc4random_uniform.c \
6 blowfish.c bcrypt.c 6 blowfish.c bcrypt.c
7 7
8MAN+= crypt.3 crypt_checkpass.3 blowfish.3 arc4random.3 8MAN+= crypt.3 crypt_checkpass.3 blowfish.3 arc4random.3
9MLINKS+=crypt.3 bcrypt_gensalt.3 crypt.3 bcrypt.3
10MLINKS+=crypt_checkpass.3 crypt_newhash.3
11MLINKS+=blowfish.3 blf_key.3 blowfish.3 blf_enc.3
12MLINKS+=blowfish.3 blf_dec.3 blowfish.3 blf_ecb_encrypt.3
13MLINKS+=blowfish.3 blf_ecb_decrypt.3 blowfish.3 blf_cbc_encrypt.3
14MLINKS+=blowfish.3 blf_cbc_decrypt.3
15MLINKS+=arc4random.3 arc4random_buf.3 arc4random.3 arc4random_uniform.3
diff --git a/src/lib/libc/net/Makefile.inc b/src/lib/libc/net/Makefile.inc
index 55a928cd3b..b78cd6be85 100644
--- a/src/lib/libc/net/Makefile.inc
+++ b/src/lib/libc/net/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.58 2015/09/11 09:54:00 deraadt Exp $ 1# $OpenBSD: Makefile.inc,v 1.59 2016/03/30 06:38:41 jmc Exp $
2 2
3# net sources 3# net sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net
@@ -34,56 +34,3 @@ MAN+= byteorder.3 ethers.3 gai_strerror.3 getaddrinfo.3 gethostbyname.3 \
34 inet_addr.3 inet_lnaof.3 inet_net.3 inet_ntop.3 \ 34 inet_addr.3 inet_lnaof.3 inet_net.3 inet_ntop.3 \
35 inet6_opt_init.3 inet6_rth_space.3 link_ntoa.3 \ 35 inet6_opt_init.3 inet6_rth_space.3 link_ntoa.3 \
36 rcmd.3 rcmdsh.3 resolver.3 sockatmark.3 36 rcmd.3 rcmdsh.3 resolver.3 sockatmark.3
37
38MLINKS+=byteorder.3 htobe16.3 byteorder.3 htobe32.3 byteorder.3 htobe64.3 \
39 byteorder.3 be16toh.3 byteorder.3 be32toh.3 byteorder.3 be64toh.3 \
40 byteorder.3 betoh16.3 byteorder.3 betoh32.3 byteorder.3 betoh64.3 \
41 byteorder.3 htole16.3 byteorder.3 htole32.3 byteorder.3 htole64.3 \
42 byteorder.3 le16toh.3 byteorder.3 le32toh.3 byteorder.3 le64toh.3 \
43 byteorder.3 letoh16.3 byteorder.3 letoh32.3 byteorder.3 letoh64.3 \
44 byteorder.3 swap16.3 byteorder.3 swap32.3 byteorder.3 swap64.3
45MLINKS+=ethers.3 ether_aton.3 ethers.3 ether_hostton.3 ethers.3 ether_line.3 \
46 ethers.3 ether_ntoa.3 ethers.3 ether_ntohost.3
47MLINKS+=getaddrinfo.3 freeaddrinfo.3
48MLINKS+=gethostbyname.3 endhostent.3 gethostbyname.3 gethostbyaddr.3 \
49 gethostbyname.3 sethostent.3 gethostbyname.3 gethostent.3 \
50 gethostbyname.3 herror.3 gethostbyname.3 gethostbyname2.3 \
51 gethostbyname.3 hstrerror.3
52MLINKS+=getifaddrs.3 freeifaddrs.3
53MLINKS+=getnetent.3 endnetent.3 getnetent.3 getnetbyaddr.3 \
54 getnetent.3 getnetbyname.3 getnetent.3 setnetent.3
55MLINKS+=getprotoent.3 endprotoent.3 getprotoent.3 getprotobyname.3 \
56 getprotoent.3 getprotobynumber.3 getprotoent.3 setprotoent.3 \
57 getprotoent.3 getprotoent_r.3 getprotoent.3 getprotobyname_r.3 \
58 getprotoent.3 getprotobynumber_r.3 getprotoent.3 setprotoent_r.3 \
59 getprotoent.3 endprotoent_r.3
60MLINKS+=getservent.3 endservent.3 getservent.3 getservbyname.3 \
61 getservent.3 getservbyport.3 getservent.3 setservent.3 \
62 getservent.3 getservent_r.3 getservent.3 getservbyname_r.3 \
63 getservent.3 getservbyport_r.3 getservent.3 setservent_r.3 \
64 getservent.3 endservent_r.3
65MLINKS+=htonl.3 htons.3 htonl.3 ntohl.3 htonl.3 ntohs.3
66MLINKS+= if_indextoname.3 if_nametoindex.3 if_indextoname.3 if_nameindex.3 \
67 if_indextoname.3 if_freenameindex.3
68MLINKS+=inet_addr.3 inet_aton.3 inet_addr.3 inet_network.3 \
69 inet_addr.3 inet_ntoa.3
70MLINKS+=inet_lnaof.3 inet_makeaddr.3 inet_lnaof.3 inet_netof.3
71MLINKS+=inet_ntop.3 inet_pton.3
72MLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3
73MLINKS+=rcmd.3 iruserok.3 rcmd.3 rresvport.3 rcmd.3 ruserok.3 \
74 rcmd.3 rresvport_af.3 rcmd.3 rcmd_af.3 rcmd.3 iruserok_sa.3
75MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
76 resolver.3 res_mkquery.3 resolver.3 res_send.3 resolver.3 res_query.3 \
77 resolver.3 res_search.3
78MLINKS+=getrrsetbyname.3 freerrset.3
79MLINKS+=inet6_opt_init.3 inet6_opt_append.3 \
80 inet6_opt_init.3 inet6_opt_finish.3 \
81 inet6_opt_init.3 inet6_opt_set_val.3 \
82 inet6_opt_init.3 inet6_opt_next.3 \
83 inet6_opt_init.3 inet6_opt_find.3 \
84 inet6_opt_init.3 inet6_opt_get_val.3
85MLINKS+=inet6_rth_space.3 inet6_rth_init.3 \
86 inet6_rth_space.3 inet6_rth_add.3 \
87 inet6_rth_space.3 inet6_rth_reverse.3 \
88 inet6_rth_space.3 inet6_rth_segments.3 \
89 inet6_rth_space.3 inet6_rth_getaddr.3 \
diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc
index fdc194b8c0..d3a0a83577 100644
--- a/src/lib/libc/stdlib/Makefile.inc
+++ b/src/lib/libc/stdlib/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.58 2015/11/18 16:50:08 tedu Exp $ 1# $OpenBSD: Makefile.inc,v 1.59 2016/03/30 06:38:41 jmc Exp $
2 2
3# stdlib sources 3# stdlib sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib
@@ -31,31 +31,3 @@ MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 atoll.3 \
31 lldiv.3 lsearch.3 malloc.3 posix_memalign.3 posix_openpt.3 ptsname.3 \ 31 lldiv.3 lsearch.3 malloc.3 posix_memalign.3 posix_openpt.3 ptsname.3 \
32 qabs.3 qdiv.3 qsort.3 radixsort.3 rand48.3 rand.3 random.3 realpath.3 \ 32 qabs.3 qdiv.3 qsort.3 radixsort.3 rand48.3 rand.3 random.3 realpath.3 \
33 strtod.3 strtonum.3 strtol.3 strtoul.3 system.3 tsearch.3 33 strtod.3 strtonum.3 strtol.3 strtoul.3 system.3 tsearch.3
34
35MLINKS+=ecvt.3 fcvt.3 ecvt.3 gcvt.3
36MLINKS+=getenv.3 setenv.3 getenv.3 unsetenv.3 getenv.3 putenv.3
37MLINKS+=getopt_long.3 getopt_long_only.3
38MLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3
39MLINKS+=insque.3 remque.3
40MLINKS+=labs.3 llabs.3
41MLINKS+=lsearch.3 lfind.3
42MLINKS+=malloc.3 free.3 malloc.3 realloc.3 malloc.3 calloc.3
43MLINKS+=malloc.3 reallocarray.3
44MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3
45MLINKS+=radixsort.3 sradixsort.3
46MLINKS+=rand.3 srand.3 rand.3 rand_r.3 rand.3 srand_deterministic.3
47MLINKS+=random.3 initstate.3 random.3 setstate.3
48MLINKS+=random.3 srandom.3 random.3 srandomdev.3 random.3 srandom_deterministic.3
49MLINKS+=rand48.3 drand48.3 rand48.3 erand48.3 rand48.3 lrand48.3
50MLINKS+=rand48.3 mrand48.3 rand48.3 nrand48.3 rand48.3 jrand48.3
51MLINKS+=rand48.3 srand48.3 rand48.3 srand48_deterministic.3
52MLINKS+=rand48.3 seed48.3 rand48.3 seed48_deterministic.3
53MLINKS+=rand48.3 lcong48.3 rand48.3 lcong48_deterministic.3
54MLINKS+=ptsname.3 grantpt.3 ptsname.3 unlockpt.3
55MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
56MLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
57MLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3
58MLINKS+=tsearch.3 tfind.3
59MLINKS+=tsearch.3 tdelete.3
60MLINKS+=tsearch.3 twalk.3
61MLINKS+=a64l.3 l64a.3
diff --git a/src/lib/libc/string/Makefile.inc b/src/lib/libc/string/Makefile.inc
index ec45da2463..95eb93006b 100644
--- a/src/lib/libc/string/Makefile.inc
+++ b/src/lib/libc/string/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.37 2014/12/09 07:28:46 deraadt Exp $ 1# $OpenBSD: Makefile.inc,v 1.38 2016/03/30 06:38:41 jmc Exp $
2 2
3# string sources 3# string sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/string ${LIBCSRCDIR}/string 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/string ${LIBCSRCDIR}/string
@@ -33,23 +33,3 @@ MAN+= bcmp.3 bcopy.3 bzero.3 ffs.3 memccpy.3 memchr.3 \
33 wcscspn.3 wcsdup.3 wcslcpy.3 wcslen.3 wcspbrk.3 wcsrchr.3 wcsspn.3 \ 33 wcscspn.3 wcsdup.3 wcslcpy.3 wcslen.3 wcspbrk.3 wcsrchr.3 wcsspn.3 \
34 wcsstr.3 wcstok.3 wcswidth.3 wmemchr.3 wmemcmp.3 wmemcpy.3 wmemmove.3 \ 34 wcsstr.3 wcstok.3 wcswidth.3 wmemchr.3 wmemcmp.3 wmemcpy.3 wmemmove.3 \
35 wmemset.3 35 wmemset.3
36
37MLINKS+=bzero.3 explicit_bzero.3
38MLINKS+=memchr.3 memrchr.3
39MLINKS+=stpcpy.3 stpncpy.3
40MLINKS+=strchr.3 index.3
41MLINKS+=strrchr.3 rindex.3
42MLINKS+=strcasecmp.3 strncasecmp.3
43MLINKS+=strcmp.3 strncmp.3
44MLINKS+=strdup.3 strndup.3
45MLINKS+=strlcpy.3 strlcat.3
46MLINKS+=strlen.3 strnlen.3
47MLINKS+=strstr.3 strcasestr.3
48MLINKS+=strtok.3 strtok_r.3
49MLINKS+=strerror.3 strerror_r.3
50MLINKS+=timingsafe_bcmp.3 timingsafe_memcmp.3
51MLINKS+=wcscasecmp.3 wcsncasecmp.3
52MLINKS+=wcscat.3 wcsncat.3
53MLINKS+=wcscmp.3 wcsncmp.3
54MLINKS+=wcscpy.3 wcsncpy.3
55MLINKS+=wcslcpy.3 wcslcat.3