Mercurial > hg > mlmmj
view include/log_error.h @ 39:3509e8837988
changed log_error() to be a function (no C99 here)
author | mortenp |
---|---|
date | Sat, 24 Apr 2004 02:51:33 +1000 |
parents | 65d01831c0eb |
children | cec96ecd796c |
line wrap: on
line source
/* Copyright (C) 2004 Mads Martin Joergensen <mmj at mmj.dk> * * $Id$ * * This file is redistributable under version 2 of the GNU General * Public License as described at http://www.gnu.org/licenses/gpl.txt */ #ifndef LOG_ERROR_H #define LOG_ERROR_H #include <errno.h> #define LOG_ARGS __FILE__, __LINE__, strerror(errno) void log_set_name(const char *name); void log_error(const char *file, int line, const char *errstr, const char *fmt, ...); #endif /* LOG_ERROR_H */