summaryrefslogtreecommitdiffstats
path: root/eBones/lib/libkrb/klog.c
diff options
context:
space:
mode:
Diffstat (limited to 'eBones/lib/libkrb/klog.c')
-rw-r--r--eBones/lib/libkrb/klog.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/eBones/lib/libkrb/klog.c b/eBones/lib/libkrb/klog.c
index 97d52c7..7fdc774 100644
--- a/eBones/lib/libkrb/klog.c
+++ b/eBones/lib/libkrb/klog.c
@@ -50,11 +50,13 @@ static char logtxt[1000];
* text string "logtxt".
*/
-char *klog(int type, char *format, int a1, int a2, int a3, int a4, int a5,
- int a6, int a7, int a8, int a9, int a0)
+char * klog(type,format,a1,a2,a3,a4,a5,a6,a7,a8,a9,a0)
+ int type;
+ char *format;
+ int a1,a2,a3,a4,a5,a6,a7,a8,a9,a0;
{
FILE *logfile;
- long time(),now;
+ long now;
struct tm *tm;
static int logtype_array[NLOGTYPE] = {0,0};
static int array_initialized;
@@ -99,7 +101,9 @@ char *klog(int type, char *format, int a1, int a2, int a3, int a4, int a5,
* the logfile defaults to KRBLOG, defined in "krb.h".
*/
-void kset_logfile(char *filename)
+void
+kset_logfile(filename)
+ char *filename;
{
log_name = filename;
is_open = 0;
OpenPOWER on IntegriCloud