Remove unnecessary headers.

This commit is contained in:
Dag-Erling Smørgrav 2017-05-05 15:32:22 +02:00
parent 2f71ba6289
commit 944782f506
51 changed files with 19 additions and 101 deletions

View file

@ -29,9 +29,8 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <cryb/rfc4648.h>

View file

@ -29,9 +29,8 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <cryb/rfc4648.h>

View file

@ -29,9 +29,8 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <cryb/rfc4648.h>

View file

@ -29,9 +29,8 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>
#include <cryb/rfc4648.h>

View file

@ -34,7 +34,7 @@
.Nm cryb_percent_encode
.Nd RFC 3986 percent-encoding
.Sh SYNOPSIS
.In sys/types.h
.In stddef.h
.In cryb/rfc3986.h
.Ft "int"
.Fn cryb_percent_decode "const char *in" "size_t ilen" "char *out" "size_t olen"

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <inttypes.h>
#include <string.h>

View file

@ -29,12 +29,10 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/endian.h>
#include <cryb/hash.h>
#include <cryb/test.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>

View file

@ -29,7 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <sys/wait.h>
#if HAVE_SYS_RESOURCE_H

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/cipher.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/core.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/digest.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/enc.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
/* test our own code, not the compiler's */
#undef HAVE___BUILTIN_BSWAP16

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/hash.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/mac.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/oath.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#include <cryb/rand.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/rc4.h>

View file

@ -29,11 +29,10 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/rfc3986.h>

View file

@ -30,11 +30,10 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>
#include <cryb/rfc4648.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -30,8 +30,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>

View file

@ -29,10 +29,9 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stddef.h>
#include <stdint.h>
#include <unistd.h>
#undef HAVE_STRLCMP
#include <cryb/strlcmp.h>

View file

@ -29,8 +29,6 @@
#include "cryb/impl.h"
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include <unistd.h>