commit 174a1ba70e9b8e3109570a4cbc2ff70614aacbd6
parent 1a5f99f9b545d78a7c9354f6f10162fb6fd42653
Author: Alan Post <adp@prgmr.com>
Date: Sat, 24 Aug 2019 09:24:21 -0600
remove exit.h from forward.c, maildirwatch.c.
Neither of these programs calls _exit. forward calls
strerr_die2x with a status of 0, in order to send a
log message. maildirwatch runs in a loop and never
exits.
Diffstat:
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -602,7 +602,7 @@ forward.0: \
forward.1
forward.o: \
-compile forward.c sig.h readwrite.h exit.h env.h qmail.h substdio.h \
+compile forward.c sig.h readwrite.h env.h qmail.h substdio.h \
strerr.h substdio.h fmt.h
./compile forward.c
@@ -876,7 +876,7 @@ maildirwatch.1
maildirwatch.o: \
compile maildirwatch.c getln.h substdio.h subfd.h substdio.h prioq.h \
-datetime.h gen_alloc.h stralloc.h gen_alloc.h str.h exit.h hfield.h \
+datetime.h gen_alloc.h stralloc.h gen_alloc.h str.h hfield.h \
readwrite.h open.h headerbody.h maildir.h strerr.h
./compile maildirwatch.c
diff --git a/forward.c b/forward.c
@@ -1,6 +1,5 @@
#include "sig.h"
#include "readwrite.h"
-#include "exit.h"
#include "env.h"
#include "qmail.h"
#include "strerr.h"
diff --git a/maildirwatch.c b/maildirwatch.c
@@ -4,7 +4,6 @@
#include "prioq.h"
#include "stralloc.h"
#include "str.h"
-#include "exit.h"
#include "hfield.h"
#include "readwrite.h"
#include "open.h"