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/log.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/log.h')
-rw-r--r-- | src/basic/log.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/basic/log.h b/src/basic/log.h index e6314e820..4325215b9 100644 --- a/src/basic/log.h +++ b/src/basic/log.h @@ -70,10 +70,15 @@ int log_get_max_level(void) _pure_; int log_open(void); void log_close(void); -// UNNEEDED void log_forget_fds(void); - +/// UNNEEDED by elogind +#if 0 +void log_forget_fds(void); +#endif // 0 void log_close_syslog(void); -// UNNEEDED void log_close_journal(void); +/// UNNEEDED by elogind +#if 0 +void log_close_journal(void); +#endif // 0 void log_close_kmsg(void); void log_close_console(void); @@ -215,9 +220,12 @@ LogTarget log_target_from_string(const char *s) _pure_; #define LOG_MESSAGE(fmt, ...) "MESSAGE=" fmt, ##__VA_ARGS__ #define LOG_MESSAGE_ID(x) "MESSAGE_ID=" SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL(x) -// UNNEEDED void log_received_signal(int level, const struct signalfd_siginfo *si); +/// UNNEEDED by elogind +#if 0 +void log_received_signal(int level, const struct signalfd_siginfo *si); -// UNNEEDED void log_set_upgrade_syslog_to_journal(bool b); +void log_set_upgrade_syslog_to_journal(bool b); +#endif // 0 int log_syntax_internal( const char *unit, |