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.
*
* This file is part of the LysKOM server.
......@@ -23,19 +23,15 @@
* 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
*
* File created by ceder 1990-05-25.
*/
#ifndef __LYSKOM__LOG_H__
#define __LYSKOM__LOG_H__
#ifdef HAVE_STDARG_H
# include <stdarg.h>
#endif
#ifndef LYSKOM_H_INCLUDED
#define LYSKOM_H_INCLUDED
/*
* Add a string to the log file.
......@@ -49,13 +45,6 @@ kom_log (const char * format, ...)
# 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*/
extern void
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