Change functions to ANSI C.
[openssl.git] / crypto / idea / i_ecb.c
index 17d014a3f3dd2047c00183ae83bbebf19d3fe0ad..9ebaf409131ca06227989e476661681749bec376 100644 (file)
@@ -62,7 +62,7 @@
 
 const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT;
 
-const char *idea_options()
+const char *idea_options(void)
        {
        if (sizeof(short) != sizeof(IDEA_INT))
                return("idea(int)");
@@ -70,10 +70,8 @@ const char *idea_options()
                return("idea(short)");
        }
 
-void idea_ecb_encrypt(in, out, ks)
-unsigned char *in;
-unsigned char *out;
-IDEA_KEY_SCHEDULE *ks;
+void idea_ecb_encrypt(unsigned char *in, unsigned char *out,
+            IDEA_KEY_SCHEDULE *ks)
        {
        unsigned long l0,l1,d[2];