summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-18 16:20:51 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-18 16:20:51 +0000
commit545d802ff9caf75156d0c57b95d9152640acd3b5 (patch)
tree40df72951ed145e9ccb549f7f7be54502e9a1d39
parent399a057630f4aadf9a1d3a4b897c21e7e4c44932 (diff)
get rid of a gcc-ism
-rw-r--r--main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index 73b30b0..43f5dc1 100644
--- a/main.c
+++ b/main.c
@@ -56,11 +56,13 @@ int _debugmask;
#endif
/* #define DEBUG_DUMP */
+#if 0
#ifdef DEBUG_DUMP
#define DBG_PRINT(args...) fprintf(args)
#else
#define DBG_PRINT(args...) /* empty */
#endif
+#endif
#define DASH_INC_PRE "#include \""
#define DASH_INC_POST "\""
@@ -490,7 +492,7 @@ main(int argc, char *argv[])
* now peruse through the list of files.
*/
for(fp=filelist; *fp; fp++) {
- DBG_PRINT(stderr,"file: %s\n",*fp);
+ /* DBG_PRINT(stderr,"file: %s\n",*fp); */
filecontent = getfile(*fp);
setfile_cmdinc(filecontent, cmdinc_count, cmdinc_list);
ip = newinclude(*fp, (char *)NULL);
@@ -612,7 +614,7 @@ char *getnextline(struct filepointer *filep)
char *buf = filep->cmdinc_list[2 * filep->cmdinc_line + 1];
filep->cmdinc_line++;
sprintf(buf,"%s%s%s",DASH_INC_PRE,inc,DASH_INC_POST);
- DBG_PRINT(stderr,"%s\n",buf);
+ /* DBG_PRINT(stderr,"%s\n",buf); */
return(buf);
}
@@ -717,7 +719,7 @@ done:
filep->f_line = lineno;
#ifdef DEBUG_DUMP
if (bol)
- DBG_PRINT(stderr,"%s\n",bol);
+ /* DBG_PRINT(stderr,"%s\n",bol); */
#endif
return(bol);
}