aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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