aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-04-24 21:56:54 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-04-24 21:56:54 +0200
commit5062b051afd47c83fe0e976c5060e8adc08db27b (patch)
treeaabdef16552ca245a0300532fb72e8a84db1adb5
parentfe47ef3fd93868cbb6ccef92a7fad9ac64cc2122 (diff)
Rename vlprintf to lvprintf as it makes more sense
-rw-r--r--clog.c4
-rw-r--r--clog.h2
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