Commit eff309cc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(kom_log): Moved to stderrlog.c.

(restart_kom): Ditto.
parent 5532d6b3
/*
* $Id: dbck.c,v 0.76 2003/08/23 16:38:17 ceder Exp $
* $Id: dbck.c,v 0.77 2003/10/03 07:33:01 ceder Exp $
* Copyright (C) 1991-2003 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -196,53 +196,6 @@ execute_deletions(Local_to_global *l2g,
}
#if defined(HAVE_VFPRINTF) && defined(HAVE_STDARG_H)
extern void
kom_log (const char * format, ...)
{
va_list AP;
va_start(AP, format);
vfprintf(stdout, format, AP);
va_end(AP);
}
#else
extern void
kom_log (format, a, b, c, d, e, f, g)
const char * format;
int a, b, c, d, e, f, g;
{
fprintf(stdout, format, a, b, c, d, e, f, g);
}
#endif
#if defined(HAVE_VFPRINTF) && defined(HAVE_STDARG_H)
extern void
restart_kom (const char * format, ...)
{
va_list AP;
va_start(AP, format);
vfprintf(stdout, format, AP);
va_end(AP);
exit(1);
}
#else
extern void
restart_kom (format, a, b, c, d, e, f, g)
const char * format;
int a, b, c, d, e, f, g;
{
fprintf(stdout, format, a, b, c, d, e, f, g);
exit(1);
}
#endif
static Person_scratchpad *
alloc_person_scratchpad(void)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment