diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-26 19:32:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-26 19:49:15 +0200 |
commit | 7593c3ecbfff7bf6333195c5348e403627307bd7 (patch) | |
tree | 6c6887f46c7d96e5fc3a9a22a8e832ba2a2dbf90 /src/basic/conf-files.h | |
parent | 0d76d772d19af67ecbebb2486a6af9ba70260b9b (diff) | |
download | systemd-7593c3ecbfff7bf6333195c5348e403627307bd7.tar.gz systemd-7593c3ecbfff7bf6333195c5348e403627307bd7.tar.bz2 systemd-7593c3ecbfff7bf6333195c5348e403627307bd7.zip |
tree-wide: add a few missing _sentinel_ decorators
Diffstat (limited to 'src/basic/conf-files.h')
-rw-r--r-- | src/basic/conf-files.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/basic/conf-files.h b/src/basic/conf-files.h index 744ff80c09..81ebcd46b6 100644 --- a/src/basic/conf-files.h +++ b/src/basic/conf-files.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once +#include "macro.h" + enum { CONF_FILES_EXECUTABLE = 1 << 0, CONF_FILES_REGULAR = 1 << 1, @@ -9,7 +11,7 @@ enum { CONF_FILES_FILTER_MASKED = 1 << 4, }; -int conf_files_list(char ***ret, const char *suffix, const char *root, unsigned flags, const char *dir, ...); +int conf_files_list(char ***ret, const char *suffix, const char *root, unsigned flags, const char *dir, ...) _sentinel_; int conf_files_list_strv(char ***ret, const char *suffix, const char *root, unsigned flags, const char* const* dirs); int conf_files_list_nulstr(char ***ret, const char *suffix, const char *root, unsigned flags, const char *dirs); int conf_files_insert(char ***strv, const char *root, char **dirs, const char *path); |