Remove NOPROTO definitions and error code comments.
[openssl.git] / crypto / rc5 / rc5test.c
index 14c321d7b8592e908a5a85dfe2bc108d1e4be010..d24da3c3812a692c5c9d85da21c23dabb26d628a 100644 (file)
@@ -62,7 +62,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
-#include "rc5.h"
+#include <openssl/rc5.h>
 
 unsigned char RC5key[5][16]={
        {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
@@ -224,9 +224,7 @@ unsigned char rc5_cbc_iv[RC5_CBC_NUM][8]={
        {0x7c,0xb3,0xf1,0xdf,0x34,0xf9,0x48,0x11},
        };
 
-int main(argc,argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
        {
        int i,n,err=0;
        RC5_32_KEY key; 
@@ -317,8 +315,7 @@ char *argv[];
        }
 
 #ifdef undef
-static int cfb64_test(cfb_cipher)
-unsigned char *cfb_cipher;
+static int cfb64_test(unsigned char *cfb_cipher)
         {
         IDEA_KEY_SCHEDULE eks,dks;
         int err=0,i,n;
@@ -356,8 +353,7 @@ unsigned char *cfb_cipher;
         return(err);
         }
 
-static char *pt(p)
-unsigned char *p;
+static char *pt(unsigned char *p)
        {
        static char bufs[10][20];
        static int bnum=0;