From 7c86d66b789a5c671d5e65e181964aa8862ad0ba Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 11 Dec 2007 04:12:34 +0000 Subject: 2007-12-11 Ralf Corsepius * base.h: Remove Lines, Verbose, EXTERN. * menu2.c: Add Lines, Verbose. Remove EXTERN. --- doc/tools/bmenu/ChangeLog | 2 ++ doc/tools/bmenu/base.h | 7 ------- doc/tools/bmenu/bmenu2.c | 4 +++- 3 files changed, 5 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/tools/bmenu/ChangeLog b/doc/tools/bmenu/ChangeLog index c3e70385aa..3999d1382f 100644 --- a/doc/tools/bmenu/ChangeLog +++ b/doc/tools/bmenu/ChangeLog @@ -1,5 +1,7 @@ 2007-12-11 Ralf Corsepius + * base.h: Remove Lines, Verbose, EXTERN. + * menu2.c: Add Lines, Verbose. Remove EXTERN. * base.h: Remove BlankAsWarnings. * base.h: Remove NumberOf*. diff --git a/doc/tools/bmenu/base.h b/doc/tools/bmenu/base.h index 11ed2cbe06..e70cebd09f 100644 --- a/doc/tools/bmenu/base.h +++ b/doc/tools/bmenu/base.h @@ -12,10 +12,6 @@ #include "system.h" #include "chain.h" -#ifndef EXTERN -#define EXTERN extern -#endif - /* * Paragraph size should be kept down because it is allocated for each * Line_Control. If this number is large, the memory requirements for @@ -99,7 +95,4 @@ void DumpList( void ReleaseFile(); -EXTERN boolean Verbose; /* status/debug msgs */ -EXTERN Chain_Control Lines; - #endif diff --git a/doc/tools/bmenu/bmenu2.c b/doc/tools/bmenu/bmenu2.c index 8004de59c2..220992ec07 100644 --- a/doc/tools/bmenu/bmenu2.c +++ b/doc/tools/bmenu/bmenu2.c @@ -42,10 +42,12 @@ extern char *optarg; /* Why is this not in ? */ #define NAME_MAX 14 /* Why is the one in limits.h not showing up? */ #endif #define INIT_DATA -#define EXTERN #include "base.h" +boolean Verbose; /* status/debug msgs */ +Chain_Control Lines; + FILE *OutFile; static void ProcessFile2( -- cgit v1.2.3