Fix warnings.
[openssl.git] / crypto / rc2 / rc2_ecb.c
index 60a32809cdbe8a12b3516892c5445b9093e0879c..7d77b9186ca8b15960cdae2b9291ea4193766a06 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#include "rc2.h"
+#include <openssl/rc2.h>
 #include "rc2_locl.h"
+#include <openssl/opensslv.h>
 
-char *RC2_version="RC2 part of OpenSSL 0.9.2 31-Dec-1998";
+const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT;
 
 /* RC2 as implemented frm a posting from
  * Newsgroups: sci.crypt
@@ -69,11 +70,8 @@ char *RC2_version="RC2 part of OpenSSL 0.9.2 31-Dec-1998";
  * Date: 11 Feb 1996 06:45:03 GMT
  */
 
-void RC2_ecb_encrypt(in, out, ks, encrypt)
-unsigned char *in;
-unsigned char *out;
-RC2_KEY *ks;
-int encrypt;
+void RC2_ecb_encrypt(unsigned char *in, unsigned char *out, RC2_KEY *ks,
+            int encrypt)
        {
        unsigned long l,d[2];