OSDN Git Service

fixed warning
authorastoria-d <astoria-d@mail.goo.ne.jp>
Wed, 6 Mar 2013 09:14:12 +0000 (18:14 +0900)
committerastoria-d <astoria-d@mail.goo.ne.jp>
Wed, 6 Mar 2013 09:14:12 +0000 (18:14 +0900)
include/tools.h
libs/tools.c

index c7b12b1..da6252d 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __tools_h__
 #define __tools_h__
 
+#ifndef DPRINT_IMPL
+void dprint(const char* fmt, ...);
+#endif
+
 struct slist {
     struct slist *next;
 } ;
index 7d60556..99da54a 100644 (file)
@@ -1,5 +1,8 @@
 
 #include <stdio.h>
+
+#define DPRINT_IMPL
+
 #include "tools.h"
 
 void dprint(char* s, char* arg1, unsigned int arg2, unsigned int arg3,