aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-26 11:18:01 +0200
committerGitHub <noreply@github.com>2018-04-26 11:18:01 +0200
commitfac2c3e25fb77a9bc934c21bc172db6d0475d751 (patch)
treef25a9f5c082e3666ae83f83f908068a7ce7155a1 /util
parent31857c9ed40a6bf34273b0459d2aa604642d1807 (diff)
parent625a7a48dc9f348a7556b03dd3c10a6a7d9c6037 (diff)
Merge pull request #882 from emersion/unprefix-local-symbols
Remove wlr_ prefix from local symbols
Diffstat (limited to 'util')
-rw-r--r--util/log.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/log.c b/util/log.c
index 2adcae2d..328532f7 100644
--- a/util/log.c
+++ b/util/log.c
@@ -18,7 +18,8 @@ static const char *verbosity_colors[] = {
[L_DEBUG ] = "\x1B[1;30m",
};
-void wlr_log_stderr(log_importance_t verbosity, const char *fmt, va_list args) {
+static void log_stderr(log_importance_t verbosity, const char *fmt,
+ va_list args) {
if (verbosity > log_importance) {
return;
}
@@ -46,7 +47,7 @@ void wlr_log_stderr(log_importance_t verbosity, const char *fmt, va_list args) {
fprintf(stderr, "\n");
}
-static log_callback_t log_callback = wlr_log_stderr;
+static log_callback_t log_callback = log_stderr;
void wlr_log_init(log_importance_t verbosity, log_callback_t callback) {
if (verbosity < L_LAST) {