From 6ba84e37f29fe938e1872a448dba3dc746b239d1 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 22 Oct 2006 10:51:07 +0000 Subject: [PATCH] Fixed function names. --- lib/silcutil/silclog.c | 7 ++++--- lib/silcutil/silcschedule.h | 4 ++-- lib/silcutil/silctime.c | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/silcutil/silclog.c b/lib/silcutil/silclog.c index 02e0281c..1c0116f2 100644 --- a/lib/silcutil/silclog.c +++ b/lib/silcutil/silclog.c @@ -4,7 +4,7 @@ Author: Pekka Riikonen - Copyright (C) 1997 - 2005 Pekka Riikonen + Copyright (C) 1997 - 2006 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -106,7 +106,8 @@ static void silc_log_checksize(SilcLog log) /* Cycle log file */ fprintf(log->fp, "[%s] [%s] Cycling log file, over max log size (%lu kilobytes)\n", - silc_get_time(0), log->typename, (unsigned long)log->maxsize / 1024); + silc_time_string(0), log->typename, + (unsigned long)log->maxsize / 1024); fflush(log->fp); fclose(log->fp); @@ -195,7 +196,7 @@ void silc_log_output(SilcLogType type, char *string) found: if (silclog.timestamp) - fprintf(fp, "[%s] [%s] %s\n", silc_get_time(0), typename, string); + fprintf(fp, "[%s] [%s] %s\n", silc_time_string(0), typename, string); else fprintf(fp, "[%s] %s\n", typename, string); diff --git a/lib/silcutil/silcschedule.h b/lib/silcutil/silcschedule.h index 85bbf339..1d1e7e25 100644 --- a/lib/silcutil/silcschedule.h +++ b/lib/silcutil/silcschedule.h @@ -385,8 +385,8 @@ void *silc_schedule_get_context(SilcSchedule schedule); * ***/ #define silc_schedule_task_add_timeout(schedule, callback, context, s, u) \ - silc_schedule_task_add(schedule, 0, callback, context, s, u, \ - SILC_TASK_TIMEOUT) + silc_schedule_task_add(schedule, 0, callback, context, s, u, \ + SILC_TASK_TIMEOUT) /****f* silcutil/SilcScheduleAPI/silc_schedule_task_add_signal * diff --git a/lib/silcutil/silctime.c b/lib/silcutil/silctime.c index 30dec3c6..3f1abe7e 100644 --- a/lib/silcutil/silctime.c +++ b/lib/silcutil/silctime.c @@ -354,8 +354,8 @@ SilcBool silc_time_generalized_string(SilcTime time_val, char *ret_string, /* Return TRUE if `smaller' is smaller than `bigger'. */ -SilcBool silc_compare_time_val(struct timeval *smaller, - struct timeval *bigger) +SilcBool silc_compare_timeval(struct timeval *smaller, + struct timeval *bigger) { if ((smaller->tv_sec < bigger->tv_sec) || ((smaller->tv_sec == bigger->tv_sec) && -- 2.43.0