Browse code

- fixed missing #ifndefs.

Jan Janak authored on 10/04/2003 12:37:50
Showing 4 changed files
... ...
@@ -3,6 +3,8 @@
3 3
 #ifndef _CRC_H_
4 4
 #define _CRC_H_
5 5
 
6
+#include "str.h"
7
+
6 8
 #define CRC16_LEN	4
7 9
 
8 10
 extern unsigned long int crc_32_tab[];
... ...
@@ -12,5 +14,5 @@ extern unsigned short int crc_16_tab[];
12 12
 unsigned short crcitt_string( char *s, int len );
13 13
 void crcitt_string_array( char *dst, str src[], int size );
14 14
 
15
-#endif
15
+#endif /* _CRC_H_ */
16 16
 
... ...
@@ -25,6 +25,11 @@ These notices must be retained in any copies of any part of this
25 25
 documentation and/or software.
26 26
  */
27 27
 
28
+#ifndef MD5_H
29
+#define MD5_H
30
+
31
+#include "md5global.h"
32
+
28 33
 /* MD5 context. */
29 34
 typedef struct {
30 35
   UINT4 state[4];                                   /* state (ABCD) */
... ...
@@ -37,3 +42,4 @@ void MD5Update PROTO_LIST
37 37
   ((MD5_CTX *, unsigned char *, unsigned int));
38 38
 void MD5Final PROTO_LIST ((unsigned char [16], MD5_CTX *));
39 39
 
40
+#endif /* MD5_H */
... ...
@@ -8,6 +8,10 @@
8 8
 The following makes PROTOTYPES default to 0 if it has not already
9 9
   been defined with C compiler flags.
10 10
  */
11
+#ifndef MD5GLOBAL_H
12
+#define MD5GLOBAL_H
13
+
14
+
11 15
 #ifndef PROTOTYPES
12 16
 #define PROTOTYPES 0
13 17
 #endif
... ...
@@ -31,3 +35,4 @@ If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
31 31
 #define PROTO_LIST(list) ()
32 32
 #endif
33 33
 
34
+#endif /* MD5GLOBAL_H */
... ...
@@ -36,4 +36,4 @@
36 36
 
37 37
 void MDStringArray (char *dst, str src[], int size);
38 38
 
39
-#endif
39
+#endif /* _MD5UTILS_H */