Commit 1bb8fa66 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't include <stdarg.h>. Don't declare kom_logv. Don't use leading

underscores or double underscores in symbols we define.
parent a314c696
/* /*
* $Id: log.h,v 0.14 1999/05/24 09:34:28 ceder Exp $ * $Id: log.h,v 0.15 1999/06/03 22:06:11 ceder Exp $
* Copyright (C) 1991, 1993-1996, 1999 Lysator Academic Computer Association. * Copyright (C) 1991, 1993-1996, 1999 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -23,19 +23,15 @@ ...@@ -23,19 +23,15 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se. * Please mail bug reports to bug-lyskom@lysator.liu.se.
*/ */
/* /*
* $Id: log.h,v 0.14 1999/05/24 09:34:28 ceder Exp $ * $Id: log.h,v 0.15 1999/06/03 22:06:11 ceder Exp $
* *
* log.h * log.h
* *
* File created by ceder 1990-05-25. * File created by ceder 1990-05-25.
*/ */
#ifndef __LYSKOM__LOG_H__ #ifndef LYSKOM_H_INCLUDED
#define __LYSKOM__LOG_H__ #define LYSKOM_H_INCLUDED
#ifdef HAVE_STDARG_H
# include <stdarg.h>
#endif
/* /*
* Add a string to the log file. * Add a string to the log file.
...@@ -49,13 +45,6 @@ kom_log (const char * format, ...) ...@@ -49,13 +45,6 @@ kom_log (const char * format, ...)
# endif # endif
; ;
extern void
kom_logv (const char * format, va_list AP)
# if HAVE_ATTRIBUTE_FORMAT_PRINTF
__attribute__ ((format (printf, 1, 0)))
# endif
;
#else /* !HAVE_VFPRINTF || !HAVE_STDARG_H*/ #else /* !HAVE_VFPRINTF || !HAVE_STDARG_H*/
extern void extern void
kom_log (); kom_log ();
......
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