diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2019-06-16 18:20:26 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2019-06-16 18:20:26 +0200 |
commit | 60efd9dc336ec80044b6fa2d1418df20df2a1768 (patch) | |
tree | a8f5d402e40c70085b912128648a0d0199372d09 /lib | |
parent | 1c72dd2c2faf556db956507f72563109ea2987b4 (diff) |
Remove unused SOCK_FLAG_* enum
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/include/util.h | 11 |
1 files changed, 0 insertions, 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); |