From 60efd9dc336ec80044b6fa2d1418df20df2a1768 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 16 Jun 2019 18:20:26 +0200 Subject: [PATCH] Remove unused SOCK_FLAG_* enum Signed-off-by: David Oberhollenzer --- lib/include/util.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/include/util.h b/lib/include/util.h index 8550695..efd89fc 100644 --- a/lib/include/util.h +++ b/lib/include/util.h @@ -21,17 +21,6 @@ typedef struct exec_t { char args[]; /* argument vectot string blob */ } exec_t; -enum { - /* only allow root to connect */ - SOCK_FLAG_ROOT_ONLY = 0x01, - - /* allow everyone to connect */ - SOCK_FLAG_EVERYONE = 0x02, - - /* create a datagram socket, otherwise use a stream socket */ - SOCK_FLAG_DGRAM = 0x04, -}; - int setup_tty(const char *tty, bool truncate); NORETURN void argv_exec(exec_t *e);