summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/regex/main.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-12-02 19:42:46 +0000
committerhenning <henning@openbsd.org>2004-12-02 19:42:46 +0000
commitbeb894e9112853f8ec6191dfabc17833945d5384 (patch)
treeb54efe18b2c59c6e8b8e7c957cc8c0be1793f8cd /usr.sbin/httpd/src/regex/main.c
parentWe do not support 2MB machines, so don't bother taking them into account (diff)
downloadwireguard-openbsd-beb894e9112853f8ec6191dfabc17833945d5384.tar.xz
wireguard-openbsd-beb894e9112853f8ec6191dfabc17833945d5384.zip
big time httpd cleanup
this diff removes a lot of #ifdef'd stuff that is irrelevant for us. done by Daniel Ouellet after my advice. tested by many, ok miod@
Diffstat (limited to 'usr.sbin/httpd/src/regex/main.c')
-rw-r--r--usr.sbin/httpd/src/regex/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/httpd/src/regex/main.c b/usr.sbin/httpd/src/regex/main.c
index 5a9ada8ffd9..1c4364cae9f 100644
--- a/usr.sbin/httpd/src/regex/main.c
+++ b/usr.sbin/httpd/src/regex/main.c
@@ -3,9 +3,6 @@
#include <sys/types.h>
#include <assert.h>
#include <stdlib.h>
-#ifdef TPF
-#include <sysapi.h> /* for tmslc() */
-#endif /* TPF */
#include "hsregex.h"
#include "main.ih"
@@ -142,9 +139,6 @@ FILE *in;
char *bpname = "REG_BADPAT";
regex_t re;
-#ifdef TPF
- tmslc(TMSLC_ENABLE, "IBMHIPRI"); /* extend our process' life */
-#endif /* TPF */
while (fgets(inbuf, sizeof(inbuf), in) != NULL) {
line++;
if (inbuf[0] == '#' || inbuf[0] == '\n')