Remove NOPROTO definitions and error code comments.
[openssl.git] / crypto / hmac / hmactest.c
index 5938e375dcbf9d732179e59b60eeaa62fefeb42c..0a3db6852c15bf5135b9b2721147b125fe3240b7 100644 (file)
@@ -59,7 +59,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include "hmac.h"
+#include <openssl/hmac.h>
 
 struct test_st
        {
@@ -102,15 +102,8 @@ struct test_st
        };
 
 
-#ifndef NOPROTO
 static char *pt(unsigned char *md);
-#else
-static char *pt();
-#endif
-
-int main(argc,argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
        {
        int i,err=0;
        char *p;
@@ -135,8 +128,7 @@ char *argv[];
        return(0);
        }
 
-static char *pt(md)
-unsigned char *md;
+static char *pt(unsigned char *md)
        {
        int i;
        static char buf[80];