]> diplodocus.org Git - nmh/commitdiff
h/mf.h: Remove many unused macros; some UUCP related.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Apr 2017 16:28:18 +0000 (17:28 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sat, 22 Apr 2017 16:28:18 +0000 (17:28 +0100)
MF... were "Codes returned by uucp2mmdf(), mmdf2uucp()".
A spot check of the others shows they've not been used in this git
repository.

h/mf.h

diff --git a/h/mf.h b/h/mf.h
index bc86081..381a52f 100644 (file)
--- a/h/mf.h
+++ b/h/mf.h
 # define DONE 1
 #endif
 
-#define        LINESIZ 512
-
-#define        MBXMODE 0600
-#define        TMPMODE 0600
-
-#define        OWIDTH  75              /* length of a header line */
-
-#define        HFROM   1               /* header has From: component    */
-#define        HSNDR   2               /* header has Sender: component  */
-#define        HADDR   3               /* header has address component  */
-#define        HDATE   4               /* header has Date: component    */
-#define        HOTHR   5               /* header is unimportant         */
-
 
 struct adrx {
     char *text;
@@ -52,21 +39,6 @@ struct adrx {
 };
 
 
-/* 
- *    Codes returned by uucp2mmdf(), mmdf2uucp()
- */
-
-#define        MFOK    0               /* all went well                 */
- /* remaining codes must > DONE         */
-#define        MFPRM   2               /* bad parameter                 */
-#define        MFSIO   3               /* stdio package went screwy     */
-#define        MFROM   4               /* from line was bad             */
-#define        MFHDR   5               /* headers were bad              */
-#define        MFTXT   6               /* text was bad                  */
-#define        MFERR   7               /* I/O or system error           */
-#define        MFDLM   8               /* Bad delimiter in MMDF file    */
-
-
 /*
  * prototypes
  */