@@ -27,18 +27,6 @@ documentation and/or software.
2727/* GLOBAL.H - RSAREF types and constants
2828 */
2929
30- /* PROTOTYPES should be set to one if and only if the compiler supports
31- function argument prototyping.
32- The following makes PROTOTYPES default to 0 if it has not already
33- been defined with C compiler flags.
34- */
35- #ifdef HAVE_PROTOTYPES
36- #define PROTOTYPES 1
37- #endif
38- #ifndef PROTOTYPES
39- #define PROTOTYPES 0
40- #endif
41-
4230/* POINTER defines a generic pointer type */
4331typedef unsigned char * POINTER ;
4432
@@ -62,22 +50,13 @@ typedef unsigned long int UINT4;
6250/* Too bad if neither is */
6351#endif
6452
65- /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
66- If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
67- returns an empty list.
68- */
69- #if PROTOTYPES
70- #define PROTO_LIST (list ) list
71- #else
72- #define PROTO_LIST (list ) ()
73- #endif
7453/* ========== End global.h; continue md5.h ========== */
7554
7655/* MD5 context. */
7756typedef struct {
78- UINT4 state [4 ]; /* state (ABCD) */
79- UINT4 count [2 ]; /* number of bits, modulo 2^64 (lsb first) */
80- unsigned char buffer [64 ]; /* input buffer */
57+ UINT4 state [4 ]; /* state (ABCD) */
58+ UINT4 count [2 ]; /* number of bits, modulo 2^64 (lsb first) */
59+ unsigned char buffer [64 ]; /* input buffer */
8160} MD5_CTX ;
8261
8362/* Rename all exported symbols to avoid conflicts with similarly named
@@ -87,7 +66,6 @@ typedef struct {
8766#define MD5Update _Py_MD5Update
8867#define MD5Final _Py_MD5Final
8968
90- void MD5Init PROTO_LIST ((MD5_CTX * ) );
91- void MD5Update PROTO_LIST
92- ((MD5_CTX * , unsigned char * , unsigned int ) );
93- void MD5Final PROTO_LIST ((unsigned char [16 ], MD5_CTX * ) );
69+ void MD5Init (MD5_CTX * );
70+ void MD5Update (MD5_CTX * , unsigned char * , unsigned int );
71+ void MD5Final (unsigned char [16 ], MD5_CTX * );
0 commit comments