X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fmd4.h;h=b6fc3f561faa670f0ac1087e49242dfc832dba8a;hb=c4d488788a3ed8fba3e75c9ddd632d1f98e9ac77;hp=80e8f9a2accaf59c63969d85f6d2be08602207d7;hpb=f4359362fc3b55c4668b31bc6e56a0365156147b;p=ppp.git diff --git a/pppd/md4.h b/pppd/md4.h index 80e8f9a..b6fc3f5 100644 --- a/pppd/md4.h +++ b/pppd/md4.h @@ -8,15 +8,6 @@ ** ******************************************************************** */ -#ifndef __P -# if defined(__STDC__) || defined(__GNUC__) -# define __P(x) x -# else -# define __P(x) () -# endif -#endif - - /* MDstruct is the data structure for a message digest computation. */ typedef struct { @@ -29,7 +20,7 @@ typedef struct { ** Initialize the MD4_CTX prepatory to doing a message digest ** computation. */ -extern void MD4Init __P((MD4_CTX *MD)); +extern void MD4Init(MD4_CTX *MD); /* MD4Update(MD,X,count) ** Input: X -- a pointer to an array of unsigned characters. @@ -43,7 +34,7 @@ extern void MD4Init __P((MD4_CTX *MD)); ** every MD computation should end with one call to MD4Update with a ** count less than 512. Zero is OK for a count. */ -extern void MD4Update __P((MD4_CTX *MD, unsigned char *X, unsigned int count)); +extern void MD4Update(MD4_CTX *MD, unsigned char *X, unsigned int count); /* MD4Print(MD) ** Prints message digest buffer MD as 32 hexadecimal digits. @@ -51,13 +42,13 @@ extern void MD4Update __P((MD4_CTX *MD, unsigned char *X, unsigned int count)); ** of buffer[3]. ** Each byte is printed with high-order hexadecimal digit first. */ -extern void MD4Print __P((MD4_CTX *)); +extern void MD4Print(MD4_CTX *); /* MD4Final(buf, MD) ** Returns message digest from MD and terminates the message ** digest computation. */ -extern void MD4Final __P((unsigned char *, MD4_CTX *)); +extern void MD4Final(unsigned char *, MD4_CTX *); /* ** End of md4.h