Move all autogenerated header file parts to crypto/opensslconf.h.
[openssl.git] / crypto / idea / i_ecb.c
index 5682e5ad1d4142a9fb2d4eb2121fe7e0c069e7b1..9ebaf409131ca06227989e476661681749bec376 100644 (file)
@@ -60,9 +60,9 @@
 #include "idea_lcl.h"
 #include "opensslv.h"
 
-char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT;
+const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT;
 
-char *idea_options()
+const char *idea_options(void)
        {
        if (sizeof(short) != sizeof(IDEA_INT))
                return("idea(int)");
@@ -70,10 +70,8 @@ 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];