summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FILES1
-rw-r--r--Makefile106
-rw-r--r--readwrite.h7
3 files changed, 53 insertions, 61 deletions
diff --git a/FILES b/FILES
index b167843..ac93e04 100644
--- a/FILES
+++ b/FILES
@@ -297,7 +297,6 @@ subfdouts.c
297subfdout.c 297subfdout.c
298subfdins.c 298subfdins.c
299subfdin.c 299subfdin.c
300readwrite.h
301exit.h 300exit.h
302timeoutconn.h 301timeoutconn.h
303timeoutconn.c 302timeoutconn.c
diff --git a/Makefile b/Makefile
index 8a280fd..801b780 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ load auto-gid.o substdio.a error.a str.a fs.a
32 ./load auto-gid substdio.a error.a str.a fs.a 32 ./load auto-gid substdio.a error.a str.a fs.a
33 33
34auto-gid.o: \ 34auto-gid.o: \
35compile auto-gid.c subfd.h substdio.h substdio.h readwrite.h exit.h \ 35compile auto-gid.c subfd.h substdio.h substdio.h exit.h \
36scan.h fmt.h 36scan.h fmt.h
37 ./compile auto-gid.c 37 ./compile auto-gid.c
38 38
@@ -41,7 +41,7 @@ load auto-int.o substdio.a error.a str.a fs.a
41 ./load auto-int substdio.a error.a str.a fs.a 41 ./load auto-int substdio.a error.a str.a fs.a
42 42
43auto-int.o: \ 43auto-int.o: \
44compile auto-int.c substdio.h readwrite.h exit.h scan.h fmt.h 44compile auto-int.c substdio.h exit.h scan.h fmt.h
45 ./compile auto-int.c 45 ./compile auto-int.c
46 46
47auto-int8: \ 47auto-int8: \
@@ -49,7 +49,7 @@ load auto-int8.o substdio.a error.a str.a fs.a
49 ./load auto-int8 substdio.a error.a str.a fs.a 49 ./load auto-int8 substdio.a error.a str.a fs.a
50 50
51auto-int8.o: \ 51auto-int8.o: \
52compile auto-int8.c substdio.h readwrite.h exit.h scan.h fmt.h 52compile auto-int8.c substdio.h exit.h scan.h fmt.h
53 ./compile auto-int8.c 53 ./compile auto-int8.c
54 54
55auto-str: \ 55auto-str: \
@@ -57,7 +57,7 @@ load auto-str.o substdio.a error.a str.a
57 ./load auto-str substdio.a error.a str.a 57 ./load auto-str substdio.a error.a str.a
58 58
59auto-str.o: \ 59auto-str.o: \
60compile auto-str.c substdio.h readwrite.h exit.h 60compile auto-str.c substdio.h exit.h
61 ./compile auto-str.c 61 ./compile auto-str.c
62 62
63auto-uid: \ 63auto-uid: \
@@ -65,7 +65,7 @@ load auto-uid.o substdio.a error.a str.a fs.a
65 ./load auto-uid substdio.a error.a str.a fs.a 65 ./load auto-uid substdio.a error.a str.a fs.a
66 66
67auto-uid.o: \ 67auto-uid.o: \
68compile auto-uid.c subfd.h substdio.h substdio.h readwrite.h exit.h \ 68compile auto-uid.c subfd.h substdio.h substdio.h exit.h \
69scan.h fmt.h 69scan.h fmt.h
70 ./compile auto-uid.c 70 ./compile auto-uid.c
71 71
@@ -283,7 +283,7 @@ compile cdbmake_pack.c cdbmake.h uint32.h
283 ./compile cdbmake_pack.c 283 ./compile cdbmake_pack.c
284 284
285cdbmss.o: \ 285cdbmss.o: \
286compile cdbmss.c readwrite.h seek.h alloc.h cdbmss.h cdbmake.h \ 286compile cdbmss.c seek.h alloc.h cdbmss.h cdbmake.h \
287uint32.h substdio.h 287uint32.h substdio.h
288 ./compile cdbmss.c 288 ./compile cdbmss.c
289 289
@@ -338,7 +338,7 @@ condredirect.1
338 nroff -man condredirect.1 > condredirect.0 338 nroff -man condredirect.1 > condredirect.0
339 339
340condredirect.o: \ 340condredirect.o: \
341compile condredirect.c sig.h readwrite.h exit.h env.h error.h fork.h \ 341compile condredirect.c sig.h exit.h env.h error.h fork.h \
342wait.h seek.h qmail.h substdio.h strerr.h substdio.h fmt.h 342wait.h seek.h qmail.h substdio.h strerr.h substdio.h fmt.h
343 ./compile condredirect.c 343 ./compile condredirect.c
344 344
@@ -365,7 +365,7 @@ compile constmap.c constmap.h alloc.h case.h
365 ./compile constmap.c 365 ./compile constmap.c
366 366
367control.o: \ 367control.o: \
368compile control.c readwrite.h open.h getln.h stralloc.h gen_alloc.h \ 368compile control.c open.h getln.h stralloc.h gen_alloc.h \
369substdio.h error.h control.h alloc.h scan.h 369substdio.h error.h control.h alloc.h scan.h
370 ./compile control.c 370 ./compile control.c
371 371
@@ -423,7 +423,7 @@ substdio.a error.a str.a fs.a dns.lib socket.lib
423 423
424dnscname.o: \ 424dnscname.o: \
425compile dnscname.c substdio.h subfd.h substdio.h stralloc.h \ 425compile dnscname.c substdio.h subfd.h substdio.h stralloc.h \
426gen_alloc.h dns.h dnsdoe.h readwrite.h exit.h 426gen_alloc.h dns.h dnsdoe.h exit.h
427 ./compile dnscname.c 427 ./compile dnscname.c
428 428
429dnsdoe.o: \ 429dnsdoe.o: \
@@ -623,7 +623,7 @@ forward.1
623 nroff -man forward.1 > forward.0 623 nroff -man forward.1 > forward.0
624 624
625forward.o: \ 625forward.o: \
626compile forward.c sig.h readwrite.h exit.h env.h qmail.h substdio.h \ 626compile forward.c sig.h exit.h env.h qmail.h substdio.h \
627strerr.h substdio.h fmt.h 627strerr.h substdio.h fmt.h
628 ./compile forward.c 628 ./compile forward.c
629 629
@@ -745,7 +745,7 @@ load hostname.o substdio.a error.a str.a dns.lib socket.lib
745 `cat socket.lib` 745 `cat socket.lib`
746 746
747hostname.o: \ 747hostname.o: \
748compile hostname.c substdio.h subfd.h substdio.h readwrite.h exit.h 748compile hostname.c substdio.h subfd.h substdio.h exit.h
749 ./compile hostname.c 749 ./compile hostname.c
750 750
751idedit: \ 751idedit: \
@@ -755,7 +755,7 @@ seek.a
755 wait.a open.a seek.a 755 wait.a open.a seek.a
756 756
757idedit.o: \ 757idedit.o: \
758compile idedit.c readwrite.h exit.h scan.h fmt.h strerr.h open.h \ 758compile idedit.c exit.h scan.h fmt.h strerr.h open.h \
759seek.h fork.h 759seek.h fork.h
760 ./compile idedit.c 760 ./compile idedit.c
761 761
@@ -778,7 +778,7 @@ fifo.h install.h
778 ./compile install-big.c 778 ./compile install-big.c
779 779
780install.o: \ 780install.o: \
781compile install.c substdio.h strerr.h error.h open.h readwrite.h \ 781compile install.c substdio.h strerr.h error.h open.h \
782exit.h install.h 782exit.h install.h
783 ./compile install.c 783 ./compile install.c
784 784
@@ -789,7 +789,7 @@ strerr.a substdio.a error.a str.a fs.a
789 auto_uids.o strerr.a substdio.a error.a str.a fs.a 789 auto_uids.o strerr.a substdio.a error.a str.a fs.a
790 790
791instcheck.o: \ 791instcheck.o: \
792compile instcheck.c strerr.h error.h readwrite.h exit.h 792compile instcheck.c strerr.h error.h exit.h
793 ./compile instcheck.c 793 ./compile instcheck.c
794 794
795ip.o: \ 795ip.o: \
@@ -874,7 +874,7 @@ maildir2mbox.1
874 nroff -man maildir2mbox.1 > maildir2mbox.0 874 nroff -man maildir2mbox.1 > maildir2mbox.0
875 875
876maildir2mbox.o: \ 876maildir2mbox.o: \
877compile maildir2mbox.c readwrite.h prioq.h datetime.h gen_alloc.h \ 877compile maildir2mbox.c prioq.h datetime.h gen_alloc.h \
878env.h stralloc.h gen_alloc.h subfd.h substdio.h substdio.h getln.h \ 878env.h stralloc.h gen_alloc.h subfd.h substdio.h substdio.h getln.h \
879error.h open.h lock.h gfrom.h str.h exit.h myctime.h maildir.h \ 879error.h open.h lock.h gfrom.h str.h exit.h myctime.h maildir.h \
880strerr.h 880strerr.h
@@ -907,7 +907,7 @@ maildirwatch.1
907maildirwatch.o: \ 907maildirwatch.o: \
908compile maildirwatch.c getln.h substdio.h subfd.h substdio.h prioq.h \ 908compile maildirwatch.c getln.h substdio.h subfd.h substdio.h prioq.h \
909datetime.h gen_alloc.h stralloc.h gen_alloc.h str.h exit.h hfield.h \ 909datetime.h gen_alloc.h stralloc.h gen_alloc.h str.h exit.h hfield.h \
910readwrite.h open.h headerbody.h maildir.h strerr.h 910open.h headerbody.h maildir.h strerr.h
911 ./compile maildirwatch.c 911 ./compile maildirwatch.c
912 912
913maildirgetquota.o: \ 913maildirgetquota.o: \
@@ -1061,7 +1061,7 @@ error.a str.a fs.a
1061 1061
1062predate.o: \ 1062predate.o: \
1063compile predate.c datetime.h fork.h wait.h fd.h fmt.h strerr.h \ 1063compile predate.c datetime.h fork.h wait.h fd.h fmt.h strerr.h \
1064substdio.h subfd.h substdio.h readwrite.h exit.h 1064substdio.h subfd.h substdio.h exit.h
1065 ./compile predate.c 1065 ./compile predate.c
1066 1066
1067preline: \ 1067preline: \
@@ -1075,7 +1075,7 @@ preline.1
1075 nroff -man preline.1 > preline.0 1075 nroff -man preline.1 > preline.0
1076 1076
1077preline.o: \ 1077preline.o: \
1078compile preline.c fd.h sgetopt.h subgetopt.h readwrite.h strerr.h \ 1078compile preline.c fd.h sgetopt.h subgetopt.h strerr.h \
1079substdio.h exit.h fork.h wait.h env.h sig.h error.h 1079substdio.h exit.h fork.h wait.h env.h sig.h error.h
1080 ./compile preline.c 1080 ./compile preline.c
1081 1081
@@ -1122,7 +1122,7 @@ qbiff.1
1122 nroff -man qbiff.1 > qbiff.0 1122 nroff -man qbiff.1 > qbiff.0
1123 1123
1124qbiff.o: \ 1124qbiff.o: \
1125compile qbiff.c readwrite.h stralloc.h gen_alloc.h substdio.h subfd.h \ 1125compile qbiff.c stralloc.h gen_alloc.h substdio.h subfd.h \
1126substdio.h open.h byte.h str.h headerbody.h hfield.h env.h exit.h 1126substdio.h open.h byte.h str.h headerbody.h hfield.h env.h exit.h
1127 ./compile qbiff.c 1127 ./compile qbiff.c
1128 1128
@@ -1138,7 +1138,7 @@ qmail-clean.8
1138 nroff -man qmail-clean.8 > qmail-clean.0 1138 nroff -man qmail-clean.8 > qmail-clean.0
1139 1139
1140qmail-clean.o: \ 1140qmail-clean.o: \
1141compile qmail-clean.c readwrite.h sig.h now.h datetime.h str.h \ 1141compile qmail-clean.c sig.h now.h datetime.h str.h \
1142direntry.h getln.h stralloc.h gen_alloc.h substdio.h subfd.h \ 1142direntry.h getln.h stralloc.h gen_alloc.h substdio.h subfd.h \
1143substdio.h byte.h scan.h fmt.h error.h exit.h fmtqfn.h auto_qmail.h 1143substdio.h byte.h scan.h fmt.h error.h exit.h fmtqfn.h auto_qmail.h
1144 ./compile qmail-clean.c 1144 ./compile qmail-clean.c
@@ -1178,7 +1178,7 @@ qmail-getpw.9 conf-break conf-spawn
1178 > qmail-getpw.8 1178 > qmail-getpw.8
1179 1179
1180qmail-getpw.o: \ 1180qmail-getpw.o: \
1181compile qmail-getpw.c readwrite.h substdio.h subfd.h substdio.h \ 1181compile qmail-getpw.c substdio.h subfd.h substdio.h \
1182error.h exit.h byte.h str.h case.h fmt.h auto_usera.h auto_break.h \ 1182error.h exit.h byte.h str.h case.h fmt.h auto_usera.h auto_break.h \
1183qlx.h 1183qlx.h
1184 ./compile qmail-getpw.c 1184 ./compile qmail-getpw.c
@@ -1241,7 +1241,7 @@ qmail-local.8
1241 nroff -man qmail-local.8 > qmail-local.0 1241 nroff -man qmail-local.8 > qmail-local.0
1242 1242
1243qmail-local.o: \ 1243qmail-local.o: \
1244compile qmail-local.c readwrite.h sig.h env.h byte.h exit.h fork.h \ 1244compile qmail-local.c sig.h env.h byte.h exit.h fork.h \
1245open.h wait.h lock.h seek.h substdio.h getln.h strerr.h subfd.h \ 1245open.h wait.h lock.h seek.h substdio.h getln.h strerr.h subfd.h \
1246substdio.h sgetopt.h subgetopt.h alloc.h error.h stralloc.h \ 1246substdio.h sgetopt.h subgetopt.h alloc.h error.h stralloc.h \
1247gen_alloc.h fmt.h str.h now.h datetime.h case.h quote.h qmail.h \ 1247gen_alloc.h fmt.h str.h now.h datetime.h case.h quote.h qmail.h \
@@ -1292,7 +1292,7 @@ qmail-newmrh.9 conf-break conf-spawn
1292 1292
1293qmail-newmrh.o: \ 1293qmail-newmrh.o: \
1294compile qmail-newmrh.c strerr.h stralloc.h gen_alloc.h substdio.h \ 1294compile qmail-newmrh.c strerr.h stralloc.h gen_alloc.h substdio.h \
1295getln.h exit.h readwrite.h open.h auto_qmail.h cdbmss.h cdbmake.h \ 1295getln.h exit.h open.h auto_qmail.h cdbmss.h cdbmake.h \
1296uint32.h substdio.h 1296uint32.h substdio.h
1297 ./compile qmail-newmrh.c 1297 ./compile qmail-newmrh.c
1298 1298
@@ -1305,7 +1305,7 @@ stralloc.a alloc.a strerr.a substdio.a error.a str.a auto_qmail.o
1305 1305
1306qmail-newbrt.o: \ 1306qmail-newbrt.o: \
1307compile qmail-newbrt.c strerr.h stralloc.h gen_alloc.h substdio.h \ 1307compile qmail-newbrt.c strerr.h stralloc.h gen_alloc.h substdio.h \
1308getln.h exit.h readwrite.h open.h auto_qmail.h cdbmss.h cdbmake.h \ 1308getln.h exit.h open.h auto_qmail.h cdbmss.h cdbmake.h \
1309uint32.h substdio.h 1309uint32.h substdio.h
1310 ./compile qmail-newbrt.c 1310 ./compile qmail-newbrt.c
1311 1311
@@ -1343,7 +1343,7 @@ qmail-newu.9 conf-break conf-spawn
1343qmail-newu.o: \ 1343qmail-newu.o: \
1344compile qmail-newu.c stralloc.h gen_alloc.h subfd.h substdio.h \ 1344compile qmail-newu.c stralloc.h gen_alloc.h subfd.h substdio.h \
1345getln.h substdio.h cdbmss.h cdbmake.h uint32.h substdio.h exit.h \ 1345getln.h substdio.h cdbmss.h cdbmake.h uint32.h substdio.h exit.h \
1346readwrite.h open.h error.h case.h auto_qmail.h 1346open.h error.h case.h auto_qmail.h
1347 ./compile qmail-newu.c 1347 ./compile qmail-newu.c
1348 1348
1349qmail-pop3d: \ 1349qmail-pop3d: \
@@ -1364,7 +1364,7 @@ qmail-pop3d.8
1364qmail-pop3d.o: \ 1364qmail-pop3d.o: \
1365compile qmail-pop3d.c commands.h sig.h getln.h stralloc.h gen_alloc.h \ 1365compile qmail-pop3d.c commands.h sig.h getln.h stralloc.h gen_alloc.h \
1366substdio.h alloc.h open.h prioq.h datetime.h gen_alloc.h scan.h fmt.h \ 1366substdio.h alloc.h open.h prioq.h datetime.h gen_alloc.h scan.h fmt.h \
1367str.h exit.h maildir.h strerr.h readwrite.h timeoutread.h \ 1367str.h exit.h maildir.h strerr.h timeoutread.h \
1368timeoutwrite.h 1368timeoutwrite.h
1369 ./compile qmail-pop3d.c 1369 ./compile qmail-pop3d.c
1370 1370
@@ -1383,7 +1383,7 @@ qmail-popup.8
1383qmail-popup.o: \ 1383qmail-popup.o: \
1384compile qmail-popup.c commands.h fd.h sig.h stralloc.h gen_alloc.h \ 1384compile qmail-popup.c commands.h fd.h sig.h stralloc.h gen_alloc.h \
1385substdio.h alloc.h wait.h str.h byte.h now.h datetime.h fmt.h exit.h \ 1385substdio.h alloc.h wait.h str.h byte.h now.h datetime.h fmt.h exit.h \
1386readwrite.h timeoutread.h timeoutwrite.h 1386timeoutread.h timeoutwrite.h
1387 ./compile qmail-popup.c 1387 ./compile qmail-popup.c
1388 1388
1389qmail-pw2u: \ 1389qmail-pw2u: \
@@ -1407,7 +1407,7 @@ qmail-pw2u.9 conf-break conf-spawn
1407 > qmail-pw2u.8 1407 > qmail-pw2u.8
1408 1408
1409qmail-pw2u.o: \ 1409qmail-pw2u.o: \
1410compile qmail-pw2u.c substdio.h readwrite.h subfd.h substdio.h \ 1410compile qmail-pw2u.c substdio.h subfd.h substdio.h \
1411sgetopt.h subgetopt.h control.h constmap.h stralloc.h gen_alloc.h \ 1411sgetopt.h subgetopt.h control.h constmap.h stralloc.h gen_alloc.h \
1412fmt.h str.h scan.h open.h error.h getln.h auto_break.h auto_qmail.h \ 1412fmt.h str.h scan.h open.h error.h getln.h auto_break.h auto_qmail.h \
1413auto_usera.h 1413auto_usera.h
@@ -1427,7 +1427,7 @@ qmail-qmqpc.8
1427 nroff -man qmail-qmqpc.8 > qmail-qmqpc.0 1427 nroff -man qmail-qmqpc.8 > qmail-qmqpc.0
1428 1428
1429qmail-qmqpc.o: \ 1429qmail-qmqpc.o: \
1430compile qmail-qmqpc.c substdio.h getln.h readwrite.h exit.h \ 1430compile qmail-qmqpc.c substdio.h getln.h exit.h \
1431stralloc.h gen_alloc.h slurpclose.h error.h sig.h ip.h timeoutconn.h \ 1431stralloc.h gen_alloc.h slurpclose.h error.h sig.h ip.h timeoutconn.h \
1432timeoutread.h timeoutwrite.h auto_qmail.h control.h fmt.h 1432timeoutread.h timeoutwrite.h auto_qmail.h control.h fmt.h
1433 ./compile qmail-qmqpc.c 1433 ./compile qmail-qmqpc.c
@@ -1445,7 +1445,7 @@ qmail-qmqpd.8
1445 1445
1446qmail-qmqpd.o: \ 1446qmail-qmqpd.o: \
1447compile qmail-qmqpd.c auto_qmail.h qmail.h substdio.h received.h \ 1447compile qmail-qmqpd.c auto_qmail.h qmail.h substdio.h received.h \
1448sig.h substdio.h readwrite.h exit.h now.h datetime.h fmt.h env.h 1448sig.h substdio.h exit.h now.h datetime.h fmt.h env.h
1449 ./compile qmail-qmqpd.c 1449 ./compile qmail-qmqpd.c
1450 1450
1451qmail-qmtpd: \ 1451qmail-qmtpd: \
@@ -1467,7 +1467,7 @@ qmail-qmtpd.8
1467qmail-qmtpd.o: \ 1467qmail-qmtpd.o: \
1468compile qmail-qmtpd.c stralloc.h gen_alloc.h substdio.h qmail.h \ 1468compile qmail-qmtpd.c stralloc.h gen_alloc.h substdio.h qmail.h \
1469substdio.h now.h datetime.h str.h fmt.h env.h sig.h rcpthosts.h \ 1469substdio.h now.h datetime.h str.h fmt.h env.h sig.h rcpthosts.h \
1470auto_qmail.h readwrite.h control.h received.h 1470auto_qmail.h control.h received.h
1471 ./compile qmail-qmtpd.c 1471 ./compile qmail-qmtpd.c
1472 1472
1473qmail-qread: \ 1473qmail-qread: \
@@ -1485,7 +1485,7 @@ qmail-qread.8
1485qmail-qread.o: \ 1485qmail-qread.o: \
1486compile qmail-qread.c stralloc.h gen_alloc.h substdio.h subfd.h \ 1486compile qmail-qread.c stralloc.h gen_alloc.h substdio.h subfd.h \
1487substdio.h fmt.h str.h getln.h fmtqfn.h readsubdir.h direntry.h \ 1487substdio.h fmt.h str.h getln.h fmtqfn.h readsubdir.h direntry.h \
1488auto_qmail.h open.h datetime.h date822fmt.h readwrite.h error.h \ 1488auto_qmail.h open.h datetime.h date822fmt.h error.h \
1489exit.h 1489exit.h
1490 ./compile qmail-qread.c 1490 ./compile qmail-qread.c
1491 1491
@@ -1516,7 +1516,7 @@ qmail-queue.8
1516 nroff -man qmail-queue.8 > qmail-queue.0 1516 nroff -man qmail-queue.8 > qmail-queue.0
1517 1517
1518qmail-queue.o: \ 1518qmail-queue.o: \
1519compile qmail-queue.c readwrite.h sig.h exit.h open.h seek.h fmt.h \ 1519compile qmail-queue.c sig.h exit.h open.h seek.h fmt.h \
1520alloc.h substdio.h datetime.h now.h datetime.h triggerpull.h extra.h \ 1520alloc.h substdio.h datetime.h now.h datetime.h triggerpull.h extra.h \
1521auto_qmail.h auto_uids.h date822fmt.h fmtqfn.h 1521auto_qmail.h auto_uids.h date822fmt.h fmtqfn.h
1522 ./compile qmail-queue.c 1522 ./compile qmail-queue.c
@@ -1544,7 +1544,7 @@ compile qmail-remote.c sig.h stralloc.h gen_alloc.h substdio.h \
1544subfd.h substdio.h scan.h case.h error.h auto_qmail.h control.h dns.h \ 1544subfd.h substdio.h scan.h case.h error.h auto_qmail.h control.h dns.h \
1545alloc.h quote.h ip.h ipalloc.h ip.h gen_alloc.h ipme.h ip.h ipalloc.h \ 1545alloc.h quote.h ip.h ipalloc.h ip.h gen_alloc.h ipme.h ip.h ipalloc.h \
1546gen_alloc.h gen_allocdefs.h str.h now.h datetime.h exit.h constmap.h \ 1546gen_alloc.h gen_allocdefs.h str.h now.h datetime.h exit.h constmap.h \
1547tcpto.h readwrite.h timeoutconn.h timeoutread.h timeoutwrite.h env.h 1547tcpto.h timeoutconn.h timeoutread.h timeoutwrite.h env.h
1548 ./compile qmail-remote.c 1548 ./compile qmail-remote.c
1549 1549
1550qmail-rspawn: \ 1550qmail-rspawn: \
@@ -1590,7 +1590,7 @@ qmail-send.9 conf-break conf-spawn
1590 > qmail-send.8 1590 > qmail-send.8
1591 1591
1592qmail-send.o: \ 1592qmail-send.o: \
1593compile qmail-send.c readwrite.h sig.h direntry.h control.h select.h \ 1593compile qmail-send.c sig.h direntry.h control.h select.h \
1594open.h seek.h exit.h lock.h ndelay.h now.h datetime.h getln.h \ 1594open.h seek.h exit.h lock.h ndelay.h now.h datetime.h getln.h \
1595substdio.h alloc.h error.h stralloc.h gen_alloc.h str.h byte.h fmt.h \ 1595substdio.h alloc.h error.h stralloc.h gen_alloc.h str.h byte.h fmt.h \
1596scan.h case.h auto_qmail.h trigger.h newfield.h stralloc.h quote.h \ 1596scan.h case.h auto_qmail.h trigger.h newfield.h stralloc.h quote.h \
@@ -1619,7 +1619,7 @@ auto_split.h
1619 ./compile qmail-showctl.c 1619 ./compile qmail-showctl.c
1620 1620
1621qmail-spp.o: \ 1621qmail-spp.o: \
1622compile qmail-spp.c readwrite.h stralloc.h substdio.h control.h str.h \ 1622compile qmail-spp.c stralloc.h substdio.h control.h str.h \
1623byte.h env.h exit.h wait.h fork.h fd.h fmt.h getln.h 1623byte.h env.h exit.h wait.h fork.h fd.h fmt.h getln.h
1624 ./compile qmail-spp.c 1624 ./compile qmail-spp.c
1625 1625
@@ -1645,7 +1645,7 @@ qmail-smtpd.8
1645 nroff -man qmail-smtpd.8 > qmail-smtpd.0 1645 nroff -man qmail-smtpd.8 > qmail-smtpd.0
1646 1646
1647qmail-smtpd.o: \ 1647qmail-smtpd.o: \
1648compile qmail-smtpd.c sig.h readwrite.h stralloc.h gen_alloc.h \ 1648compile qmail-smtpd.c sig.h stralloc.h gen_alloc.h \
1649substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \ 1649substdio.h alloc.h auto_qmail.h control.h received.h constmap.h \
1650error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h qmail-spp.h \ 1650error.h ipme.h ip.h ipalloc.h ip.h gen_alloc.h ip.h qmail.h qmail-spp.h \
1651substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \ 1651substdio.h str.h fmt.h scan.h byte.h case.h env.h now.h datetime.h \
@@ -1684,7 +1684,7 @@ qmail-tcpok.8
1684 nroff -man qmail-tcpok.8 > qmail-tcpok.0 1684 nroff -man qmail-tcpok.8 > qmail-tcpok.0
1685 1685
1686qmail-tcpok.o: \ 1686qmail-tcpok.o: \
1687compile qmail-tcpok.c strerr.h substdio.h lock.h open.h readwrite.h \ 1687compile qmail-tcpok.c strerr.h substdio.h lock.h open.h \
1688auto_qmail.h exit.h 1688auto_qmail.h exit.h
1689 ./compile qmail-tcpok.c 1689 ./compile qmail-tcpok.c
1690 1690
@@ -1729,7 +1729,7 @@ qmail.7
1729 nroff -man qmail.7 > qmail.0 1729 nroff -man qmail.7 > qmail.0
1730 1730
1731qmail.o: \ 1731qmail.o: \
1732compile qmail.c substdio.h readwrite.h wait.h exit.h fork.h fd.h \ 1732compile qmail.c substdio.h wait.h exit.h fork.h fd.h \
1733qmail.h substdio.h auto_qmail.h 1733qmail.h substdio.h auto_qmail.h
1734 ./compile qmail.c 1734 ./compile qmail.c
1735 1735
@@ -1759,13 +1759,13 @@ alloc.a substdio.a error.a str.a
1759 stralloc.a alloc.a substdio.a error.a str.a 1759 stralloc.a alloc.a substdio.a error.a str.a
1760 1760
1761qsmhook.o: \ 1761qsmhook.o: \
1762compile qsmhook.c fd.h stralloc.h gen_alloc.h readwrite.h sgetopt.h \ 1762compile qsmhook.c fd.h stralloc.h gen_alloc.h sgetopt.h \
1763subgetopt.h wait.h env.h byte.h str.h alloc.h exit.h fork.h case.h \ 1763subgetopt.h wait.h env.h byte.h str.h alloc.h exit.h fork.h case.h \
1764subfd.h substdio.h error.h substdio.h sig.h 1764subfd.h substdio.h error.h substdio.h sig.h
1765 ./compile qsmhook.c 1765 ./compile qsmhook.c
1766 1766
1767qsutil.o: \ 1767qsutil.o: \
1768compile qsutil.c stralloc.h gen_alloc.h readwrite.h substdio.h \ 1768compile qsutil.c stralloc.h gen_alloc.h substdio.h \
1769qsutil.h 1769qsutil.h
1770 ./compile qsutil.c 1770 ./compile qsutil.c
1771 1771
@@ -1846,7 +1846,7 @@ auto_qmail.o stralloc.a wait.a fd.a sig.a
1846sendmail.o: \ 1846sendmail.o: \
1847compile sendmail.c sgetopt.h subgetopt.h substdio.h subfd.h \ 1847compile sendmail.c sgetopt.h subgetopt.h substdio.h subfd.h \
1848substdio.h alloc.h auto_qmail.h exit.h env.h str.h stralloc.h \ 1848substdio.h alloc.h auto_qmail.h exit.h env.h str.h stralloc.h \
1849getln.h readwrite.h wait.h fd.h sig.h 1849getln.h wait.h fd.h sig.h
1850 ./compile sendmail.c 1850 ./compile sendmail.c
1851 1851
1852setup: \ 1852setup: \
@@ -1906,7 +1906,7 @@ compile sig_term.c sig.h
1906 ./compile sig_term.c 1906 ./compile sig_term.c
1907 1907
1908slurpclose.o: \ 1908slurpclose.o: \
1909compile slurpclose.c stralloc.h gen_alloc.h readwrite.h slurpclose.h \ 1909compile slurpclose.c stralloc.h gen_alloc.h slurpclose.h \
1910error.h 1910error.h
1911 ./compile slurpclose.c 1911 ./compile slurpclose.c
1912 1912
@@ -2034,23 +2034,23 @@ compile strerr_sys.c error.h strerr.h
2034 ./compile strerr_sys.c 2034 ./compile strerr_sys.c
2035 2035
2036subfderr.o: \ 2036subfderr.o: \
2037compile subfderr.c readwrite.h substdio.h subfd.h substdio.h 2037compile subfderr.c substdio.h subfd.h substdio.h
2038 ./compile subfderr.c 2038 ./compile subfderr.c
2039 2039
2040subfdin.o: \ 2040subfdin.o: \
2041compile subfdin.c readwrite.h substdio.h subfd.h substdio.h 2041compile subfdin.c substdio.h subfd.h substdio.h
2042 ./compile subfdin.c 2042 ./compile subfdin.c
2043 2043
2044subfdins.o: \ 2044subfdins.o: \
2045compile subfdins.c readwrite.h substdio.h subfd.h substdio.h 2045compile subfdins.c substdio.h subfd.h substdio.h
2046 ./compile subfdins.c 2046 ./compile subfdins.c
2047 2047
2048subfdout.o: \ 2048subfdout.o: \
2049compile subfdout.c readwrite.h substdio.h subfd.h substdio.h 2049compile subfdout.c substdio.h subfd.h substdio.h
2050 ./compile subfdout.c 2050 ./compile subfdout.c
2051 2051
2052subfdouts.o: \ 2052subfdouts.o: \
2053compile subfdouts.c readwrite.h substdio.h subfd.h substdio.h 2053compile subfdouts.c substdio.h subfd.h substdio.h
2054 ./compile subfdouts.c 2054 ./compile subfdouts.c
2055 2055
2056subgetopt.o: \ 2056subgetopt.o: \
@@ -2111,24 +2111,24 @@ scan.h subgetopt.h ip.h dns.h byte.h remoteinfo.h exit.h case.h
2111 2111
2112tcpto.o: \ 2112tcpto.o: \
2113compile tcpto.c tcpto.h open.h lock.h seek.h now.h datetime.h ip.h \ 2113compile tcpto.c tcpto.h open.h lock.h seek.h now.h datetime.h ip.h \
2114byte.h datetime.h readwrite.h 2114byte.h datetime.h
2115 ./compile tcpto.c 2115 ./compile tcpto.c
2116 2116
2117tcpto_clean.o: \ 2117tcpto_clean.o: \
2118compile tcpto_clean.c tcpto.h open.h substdio.h readwrite.h 2118compile tcpto_clean.c tcpto.h open.h substdio.h
2119 ./compile tcpto_clean.c 2119 ./compile tcpto_clean.c
2120 2120
2121timeoutconn.o: \ 2121timeoutconn.o: \
2122compile timeoutconn.c ndelay.h select.h error.h readwrite.h ip.h \ 2122compile timeoutconn.c ndelay.h select.h error.h ip.h \
2123byte.h timeoutconn.h 2123byte.h timeoutconn.h
2124 ./compile timeoutconn.c 2124 ./compile timeoutconn.c
2125 2125
2126timeoutread.o: \ 2126timeoutread.o: \
2127compile timeoutread.c timeoutread.h select.h error.h readwrite.h 2127compile timeoutread.c timeoutread.h select.h error.h
2128 ./compile timeoutread.c 2128 ./compile timeoutread.c
2129 2129
2130timeoutwrite.o: \ 2130timeoutwrite.o: \
2131compile timeoutwrite.c timeoutwrite.h select.h error.h readwrite.h 2131compile timeoutwrite.c timeoutwrite.h select.h error.h
2132 ./compile timeoutwrite.c 2132 ./compile timeoutwrite.c
2133 2133
2134qmail-smtpd: tls.o ssl_timeoutio.o ndelay.a 2134qmail-smtpd: tls.o ssl_timeoutio.o ndelay.a
diff --git a/readwrite.h b/readwrite.h
deleted file mode 100644
index 2a64968..0000000
--- a/readwrite.h
+++ /dev/null
@@ -1,7 +0,0 @@
1#ifndef READWRITE_H
2#define READWRITE_H
3
4extern int read();
5extern int write();
6
7#endif