diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-13 15:55:10 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-14 15:59:09 +0100 |
commit | 86beb21302082e9df0aa8576b89fd29c9e1a43be (patch) | |
tree | 3b2a7fce94d144978236b919fe12f311c383872b /src/shared/parse-argument.h | |
parent | 76e5e267fcf4d5c8d1470769b97ad75a7c67394b (diff) | |
download | systemd-86beb21302082e9df0aa8576b89fd29c9e1a43be.tar.gz |
systemctl,loginctl,machinectl: use a shared helper for arg_signal
I seems frivolous to yet another two -util.[ch] files, but the helper
should be in shared/ and it doesn't seem to fit anywhere else.
Diffstat (limited to 'src/shared/parse-argument.h')
-rw-r--r-- | src/shared/parse-argument.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/parse-argument.h b/src/shared/parse-argument.h new file mode 100644 index 0000000000..7a5419174d --- /dev/null +++ b/src/shared/parse-argument.h @@ -0,0 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +#pragma once + +int parse_signal_argument(const char *s, int *ret); |