Hey tech@ --

Let's get rid of some more #defines that aren't being used.
Someone should also look at the list of prototypes and make sure
all are being used. I can do this eventually, but probably not for
a few weeks in case someone else wants to beat me to it.

OK?

~Brian

Index: def.h
===================================================================
RCS file: /cvs/src/usr.bin/mg/def.h,v
retrieving revision 1.145
diff -u -p -r1.145 def.h
--- def.h       25 Mar 2015 20:53:31 -0000      1.145
+++ def.h       16 May 2015 01:35:52 -0000
@@ -21,7 +21,6 @@ typedef int   (*PF)(int, int);        /* generall
 #define NBUFN  NFILEN          /* Length, buffer name.          */
 #define NLINE  256             /* Length, line.                 */
 #define PBMODES 4              /* modes per buffer              */
-#define NKBDM  256             /* Length, keyboard macro.       */
 #define NPAT   80              /* Length, pattern.              */
 #define HUGE   1000            /* A rather large number.        */
 #define NSRCH  128             /* Undoable search commands.     */
@@ -59,13 +58,6 @@ typedef int  (*PF)(int, int);        /* generall
 #define FIOERR 3               /* Error.                        */
 #define FIOLONG 4              /* long line partially read      */
 #define FIODIR 5               /* File is a directory           */
-
-/*
- * Directory I/O.
- */
-#define DIOSUC 0               /* Success.                      */
-#define DIOEOF 1               /* End of file.                  */
-#define DIOERR 2               /* Error.                        */
 
 /*
  * Display colors.

Reply via email to