diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-11 17:05:07 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 2705eaf36d46539397571886ba6ccd0045ef3e9b (patch) | |
tree | cd6e5e0a08aedf5373fd13f3f7c98616f7009856 /src/basic/extract-word.h | |
parent | 0d8d17b410396e92d931465768b22349aa6679e4 (diff) |
Prep v228: Substitute declaration masks (1/4)
Although it looks very ugly, substitute all declaration masks of the
form:
// UNNEEDED type foo(...);
with:
/// UNNEEDED by elogind
#if 0
type foo(...);
#endif // 0
to make future merging of upstream pathes easier, as the relevant
lines themselves are not changed any more.
Diffstat (limited to 'src/basic/extract-word.h')
-rw-r--r-- | src/basic/extract-word.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/basic/extract-word.h b/src/basic/extract-word.h index eb33224d9..994482582 100644 --- a/src/basic/extract-word.h +++ b/src/basic/extract-word.h @@ -33,5 +33,8 @@ typedef enum ExtractFlags { } ExtractFlags; int extract_first_word(const char **p, char **ret, const char *separators, ExtractFlags flags); -// UNNEEDED int extract_first_word_and_warn(const char **p, char **ret, const char *separators, ExtractFlags flags, const char *unit, const char *filename, unsigned line, const char *rvalue); -// UNNEEDED int extract_many_words(const char **p, const char *separators, ExtractFlags flags, ...) _sentinel_; +/// UNNEEDED by elogind +#if 0 +int extract_first_word_and_warn(const char **p, char **ret, const char *separators, ExtractFlags flags, const char *unit, const char *filename, unsigned line, const char *rvalue); +int extract_many_words(const char **p, const char *separators, ExtractFlags flags, ...) _sentinel_; +#endif // 0 |