Przeglądaj źródła

Removed blowfish_conf.h once and for all

svn: 53
Bryan Drewery 23 lat temu
rodzic
commit
e2ccc6600e
4 zmienionych plików z 0 dodań i 76 usunięć
  1. 0 73
      src/blowfish_conf.h
  2. 0 1
      src/dcc.c
  3. 0 1
      src/net.c
  4. 0 1
      src/tcldcc.c

+ 0 - 73
src/blowfish_conf.h

@@ -1,73 +0,0 @@
-/* modified 19jul96 by robey -- uses autoconf values now 
- */
-
-#ifndef _H_BLOWFISH
-#define _H_BLOWFISH
-
-#include <stdlib.h>
-#include <unistd.h>
-#include <time.h>
-#define oMAXKEYBYTES 56		/* 448 bits */
-#define obf_N             16
-#define noErr            0
-#define DATAERROR         -1
-#define KEYBYTES         8
-
-#define UBYTE_08bits  unsigned char
-#define UWORD_16bits  unsigned short
-
-#define nmalloc(x) n_malloc((x),__FILE__,__LINE__)
-
-/* dAS lEETo rIP fROm eggdrop.h */
-
-/* FUCK THE AUTOCONF :D */
-
-#define SIZEOF_INT 4
-#define SIZEOF_LONG 4
-
-
-#if SIZEOF_INT==4
-#define UWORD_32bits  unsigned int
-#else
-#if SIZEOF_LONG==4
-#define UWORD_32bits  unsigned long
-#endif
-#endif
-
-/* choose a byte order for your hardware */
-
-#ifdef WORDS_BIGENDIAN
-/* ABCD - big endian - motorola */
-union aword
-  {
-    UWORD_32bits word;
-    UBYTE_08bits byte[4];
-    struct
-      {
-	unsigned int byte0:8;
-	unsigned int byte1:8;
-	unsigned int byte2:8;
-	unsigned int byte3:8;
-      }
-    w;
-  };
-#endif /* WORDS_BIGENDIAN */
-
-#ifndef WORDS_BIGENDIAN
-/* DCBA - little endian - intel */
-union aword
-  {
-    UWORD_32bits word;
-    UBYTE_08bits byte[4];
-    struct
-      {
-	unsigned int byte3:8;
-	unsigned int byte2:8;
-	unsigned int byte1:8;
-	unsigned int byte0:8;
-      }
-    w;
-  };
-#endif /* !WORDS_BIGENDIAN */
-
-#endif

+ 0 - 1
src/dcc.c

@@ -20,7 +20,6 @@
 
 #include "tandem.h"
 
-#include "blowfish_conf.h"
 #include <sys/stat.h>
 
 extern char netpass[9];

+ 0 - 1
src/net.c

@@ -20,7 +20,6 @@
 #include <arpa/inet.h>		/* is this really necessary? */
 #include <errno.h>
 
-#include "blowfish_conf.h"
 #include <sys/stat.h>
 
 extern char netpass[];

+ 0 - 1
src/tcldcc.c

@@ -8,7 +8,6 @@
 #include "tandem.h"
 #include "modules.h"
 
-#include "blowfish_conf.h"
 #include <sys/stat.h>
 
 extern Tcl_Interp	*interp;