Remove NOPROTO definitions and error code comments.
[openssl.git] / apps / dh.c
index 462570c1ba3b866952d35c384a674f7036c48541..02742485ce234609ec002063d855201b70e97e15 100644 (file)
--- a/apps/dh.c
+++ b/apps/dh.c
 #include <time.h>
 #include <string.h>
 #include "apps.h"
-#include "bio.h"
-#include "err.h"
-#include "bn.h"
-#include "dh.h"
-#include "x509.h"
-#include "pem.h"
+#include <openssl/bio.h>
+#include <openssl/err.h>
+#include <openssl/bn.h>
+#include <openssl/dh.h>
+#include <openssl/x509.h>
+#include <openssl/pem.h>
 
 #undef PROG
 #define PROG   dh_main
@@ -81,9 +81,7 @@
  * -C
  */
 
-int MAIN(argc, argv)
-int argc;
-char **argv;
+int MAIN(int argc, char **argv)
        {
        DH *dh=NULL;
        int i,badops=0,text=0;