summaryrefslogtreecommitdiffstats
path: root/src/basic/parse-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-01 00:46:06 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-18 23:04:19 +0100
commit22eadc289bd534b723457557b16469a2a81d6be8 (patch)
tree49ca7f8b8a8cea55c264365c9d6c2350249f6502 /src/basic/parse-util.h
parentfuzzers: move several fuzzers (diff)
downloadsystemd-22eadc289bd534b723457557b16469a2a81d6be8.tar.xz
systemd-22eadc289bd534b723457557b16469a2a81d6be8.zip
util: move parse_syscall_and_errno() to seccomp-util.c
This makes parse-util.c independent of seccomp-util.c, which is located in src/shared.
Diffstat (limited to 'src/basic/parse-util.h')
-rw-r--r--src/basic/parse-util.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/basic/parse-util.h b/src/basic/parse-util.h
index 81478ed059..1ff76ded44 100644
--- a/src/basic/parse-util.h
+++ b/src/basic/parse-util.h
@@ -22,9 +22,6 @@ int parse_mtu(int family, const char *s, uint32_t *ret);
int parse_size(const char *t, uint64_t base, uint64_t *size);
int parse_range(const char *t, unsigned *lower, unsigned *upper);
int parse_errno(const char *t);
-#if HAVE_SECCOMP
-int parse_syscall_and_errno(const char *in, char **name, int *error);
-#endif
#define SAFE_ATO_REFUSE_PLUS_MINUS (1U << 30)
#define SAFE_ATO_REFUSE_LEADING_ZERO (1U << 29)