about summary refs log tree commit diff
path: root/crypt/crypt_util.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2014-06-06 18:25:31 -0400
committerChris Metcalf <cmetcalf@tilera.com>2014-06-06 18:25:31 -0400
commit4d3ae034b7c02b6a94e04ec7a32582379b6f4716 (patch)
treefa5b083d20e4052973b17e0e074c5ecdafbea250 /crypt/crypt_util.c
parent8540f6d2a74fe9d67440535ebbcfa252180a3172 (diff)
downloadglibc-4d3ae034b7c02b6a94e04ec7a32582379b6f4716.tar.gz
glibc-4d3ae034b7c02b6a94e04ec7a32582379b6f4716.tar.xz
glibc-4d3ae034b7c02b6a94e04ec7a32582379b6f4716.zip
crypt: don't include ufc-crypt.h multiple times
The file has no inclusion guards, and contains typedefs that
cause errors when included multiple times with older (pre-C11)
compilers such as gcc 4.4.

Save the "#ifdef DOS" content to crypt-private.h even though
it's likely not particularly useful.
Diffstat (limited to 'crypt/crypt_util.c')
-rw-r--r--crypt/crypt_util.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index 9381d67194..da0a5aa33b 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -33,17 +33,6 @@
 #define STATIC static
 #endif
 
-#ifndef DOS
-#include "ufc-crypt.h"
-#else
-/*
- * Thanks to greg%wind@plains.NoDak.edu (Greg W. Wettstein)
- * for DOS patches
- */
-#include "pl.h"
-#include "ufc.h"
-#endif
-#include "crypt.h"
 #include "crypt-private.h"
 
 /* Prototypes for local functions.  */