aboutsummaryrefslogtreecommitdiff
path: root/crypt
diff options
context:
space:
mode:
Diffstat (limited to 'crypt')
-rw-r--r--crypt/crypt-entry.c10
-rw-r--r--crypt/crypt-private.h9
-rw-r--r--crypt/crypt.c2
-rw-r--r--crypt/crypt_util.c11
4 files changed, 9 insertions, 23 deletions
diff --git a/crypt/crypt-entry.c b/crypt/crypt-entry.c
index 2a6e950..f6444df 100644
--- a/crypt/crypt-entry.c
+++ b/crypt/crypt-entry.c
@@ -34,16 +34,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 "ufc.h"
-#endif
-#include "crypt.h"
#include "crypt-private.h"
/* Prototypes for local functions. */
diff --git a/crypt/crypt-private.h b/crypt/crypt-private.h
index ea46a7f..b6a5e07 100644
--- a/crypt/crypt-private.h
+++ b/crypt/crypt-private.h
@@ -28,7 +28,16 @@
#include <features.h>
#include <stdbool.h>
+#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"
/* crypt.c */
diff --git a/crypt/crypt.c b/crypt/crypt.c
index 4fb2578..1919210 100644
--- a/crypt/crypt.c
+++ b/crypt/crypt.c
@@ -23,8 +23,6 @@
*
*/
-#include "ufc-crypt.h"
-#include "crypt.h"
#include "crypt-private.h"
#ifdef _UFC_32_
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index 9381d67..da0a5aa 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. */