summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd
diff options
context:
space:
mode:
authorSebastian Benoit <benno@cvs.openbsd.org>2020-07-25 21:12:50 +0000
committerSebastian Benoit <benno@cvs.openbsd.org>2020-07-25 21:12:50 +0000
commitf062ffdd09d66e48225578b4c43735639fe77fd7 (patch)
tree93586adeb9bb07083f12f28aa3f3b1bc8462ea2f /usr.sbin/httpd
parent456cbcb47ebec3a6da0a5f47562efbdade694181 (diff)
remove unsused enum key_type, copied initialy from relays.
found by Ross L Richardson, thanks! ok deraadt@
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r--usr.sbin/httpd/httpd.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h
index 8295e2a5a5b..53dca52f620 100644
--- a/usr.sbin/httpd/httpd.h
+++ b/usr.sbin/httpd/httpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: httpd.h,v 1.146 2020/02/09 09:44:04 florian Exp $ */
+/* $OpenBSD: httpd.h,v 1.147 2020/07/25 21:12:49 benno Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -121,16 +121,6 @@ struct ctl_flags {
uint8_t cf_tls_sid[TLS_MAX_SESSION_ID_LENGTH];
};
-enum key_type {
- KEY_TYPE_NONE = 0,
- KEY_TYPE_COOKIE,
- KEY_TYPE_HEADER,
- KEY_TYPE_PATH,
- KEY_TYPE_QUERY,
- KEY_TYPE_URL,
- KEY_TYPE_MAX
-};
-
TAILQ_HEAD(kvlist, kv);
RB_HEAD(kvtree, kv);
@@ -138,8 +128,6 @@ struct kv {
char *kv_key;
char *kv_value;
- enum key_type kv_type;
-
#define KV_FLAG_INVALID 0x01
#define KV_FLAG_GLOBBING 0x02
uint8_t kv_flags;