aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-21 11:42:18 +0100
committeremersion <contact@emersion.fr>2018-04-25 23:00:46 +0100
commitb0d99f5c6702d2d5fcf0d8aec2c81a6ecc2a677c (patch)
tree876dd0f572f24f693cbf72295bf721d0be323613 /util
parent097561d6bf51f61356fb096a8a3c59c2ff1de3fe (diff)
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) {