From 5062b051afd47c83fe0e976c5060e8adc08db27b Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Sun, 24 Apr 2022 21:56:54 +0200 Subject: Rename vlprintf to lvprintf as it makes more sense --- clog.c | 4 ++-- clog.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clog.c b/clog.c index 77addf9..ebe2d6a 100644 --- a/clog.c +++ b/clog.c @@ -11,13 +11,13 @@ int lprintf(const char *format, ...) va_list ap; va_start(ap, format); - int n = vlprintf(format, ap); + int n = lvprintf(format, ap); va_end(ap); return n; } -int vlprintf(const char *format, va_list ap) +int lvprintf(const char *format, va_list ap) { time_t timer = time(NULL); struct tm *tm_info = localtime(&timer); diff --git a/clog.h b/clog.h index 663af3f..857a068 100644 --- a/clog.h +++ b/clog.h @@ -5,6 +5,6 @@ int lprintf(const char *format, ...); -int vlprintf(const char *format, va_list ap); +int lvprintf(const char *format, va_list ap); #endif -- cgit v1.2.3