]> granicus.if.org Git - fortune-mod/commitdiff
appveyor crash debug 2 - unremove code
authorShlomi Fish <shlomif@shlomifish.org>
Mon, 24 Feb 2020 10:58:14 +0000 (12:58 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Mon, 24 Feb 2020 10:58:14 +0000 (12:58 +0200)
fortune-mod/fortune/fortune.c

index dcba511da7ad2142f044b2e74dc4449dce4ee51c..dbe89ac16e6bc634d1fd0dab1697355076c35531 100644 (file)
@@ -100,11 +100,6 @@ static char rcsid[] = "$NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $";
 #define         PROGRAM_NAME            "fortune-mod"
 
 #include "fortune-mod-common.h"
-#ifdef REMOVE_CODE
-
-#include <stdio.h>
-
-#else
 
 #include        <dirent.h>
 #include        <fcntl.h>
@@ -146,6 +141,11 @@ static char rcsid[] = "$NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $";
 #define DPRINTF(l,x)
 #endif
 
+#ifdef REMOVE_CODE
+
+#include <stdio.h>
+
+#else
 typedef struct fd
 {
     int percent;