OSDN Git Service

config.h (or lha.h) should be included at the top of source.
authorKoji Arai <jca02266@gmail.com>
Fri, 22 Aug 2008 16:17:45 +0000 (01:17 +0900)
committerKoji Arai <jca02266@gmail.com>
Fri, 22 Aug 2008 16:17:45 +0000 (01:17 +0900)
src/pm2.c
src/pm2tree.c

index c41869b..1be6de4 100644 (file)
--- a/src/pm2.c
+++ b/src/pm2.c
@@ -1,7 +1,6 @@
 /***********************************************************
        pm2.c -- extract pmext2 coding
 ***********************************************************/
-#include <stdio.h>
 #include "lha.h"
 #include "pm2hist.h"
 #include "pm2tree.h"
index 92b5b22..1b1a0bc 100644 (file)
@@ -1,12 +1,8 @@
 /***********************************************************
        pm2tree.c -- tree for pmext2 decoding
 ***********************************************************/
-
-#ifdef __STDC__
-#include <stdlib.h>
-#endif
-#include "pm2tree.h"
 #include "lha.h"
+#include "pm2tree.h"
 
 static unsigned char tree1left[32];
 static unsigned char tree1right[32];