Change the command line options of mkerr.pl so -static is now default and
[openssl.git] / crypto / dh / dhtest.c
index e8e1695eddbd08194138e2c80e48dbf182fc3986..24e361c3d7daa229671fe6e06a25e8a5705401e4 100644 (file)
 #ifdef WINDOWS
 #include "../bio/bss_file.c" 
 #endif
-#include "crypto.h"
-#include "bio.h"
-#include "bn.h"
-#include "dh.h"
+#include <openssl/crypto.h>
+#include <openssl/bio.h>
+#include <openssl/bn.h>
+#include <openssl/dh.h>
 
 #ifdef WIN16
 #define MS_CALLBACK    _far _loadds
@@ -86,9 +86,7 @@ static void MS_CALLBACK cb();
 
 BIO *out=NULL;
 
-int main(argc,argv)
-int argc;
-char *argv[];
+int main(int argc, char *argv[])
        {
        DH *a,*b;
        char buf[12];
@@ -170,10 +168,7 @@ err:
        return(ret);
        }
 
-static void MS_CALLBACK cb(p, n,arg)
-int p;
-int n;
-char *arg;
+static void MS_CALLBACK cb(int p, int n, char *arg)
        {
        char c='*';