summaryrefslogtreecommitdiff
path: root/test-crypt-sha512.c
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-10-02 12:30:28 -0400
committerZack Weinberg <zackw@panix.com>2017-10-02 12:30:28 -0400
commita2d558581c3cd9b3d62f916825405cebd708f268 (patch)
tree15c0dee040ce81a53e4379d8bd64beef6362cf32 /test-crypt-sha512.c
parent2c89746d96163ad290663530423d33748eb10e82 (diff)
downloadlibxcrypt-a2d558581c3cd9b3d62f916825405cebd708f268.tar.gz
libxcrypt-a2d558581c3cd9b3d62f916825405cebd708f268.tar.bz2
libxcrypt-a2d558581c3cd9b3d62f916825405cebd708f268.zip
Grab bag of header-related cleanups.
Stop including crypt-symbols.h implicitly. It's a little too much _spukhafte Fernwirkung_ for my taste, and it makes Emacs have trouble parsing the compiler's error messages. Also, rename crypt-symbols.h to crypt-port.h as this is more consistent with its current function, and have it include stdbool.h, stddef.h, and stdint.h for everyone; have configure bomb out if the C99 headers we use are not available; and normalize the order of inclusion in all files. The value of CPPFLAGS passed to test scripts now includes every last one of Automake's CPPFLAGS-fragment variables.
Diffstat (limited to 'test-crypt-sha512.c')
-rw-r--r--test-crypt-sha512.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test-crypt-sha512.c b/test-crypt-sha512.c
index 5b53de4..8376846 100644
--- a/test-crypt-sha512.c
+++ b/test-crypt-sha512.c
@@ -1,8 +1,9 @@
+#include "crypt-port.h"
+#include "crypt-base.h"
+
#include <stdio.h>
#include <string.h>
-#include "crypt-base.h"
-
static const struct
{
const char *salt;