Cleanup debug header.
This commit is contained in:
parent
c210a65a00
commit
d521c2af23
|
@ -24,7 +24,7 @@
|
|||
|
||||
LASH_Client::LASH_Client ( )
|
||||
{
|
||||
_void = NULL;
|
||||
_void = 0;
|
||||
}
|
||||
|
||||
LASH_Client::~LASH_Client ( )
|
||||
|
|
|
@ -19,11 +19,15 @@
|
|||
|
||||
#include "debug.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
void
|
||||
warnf ( warning_t level,
|
||||
const char *module,
|
||||
const char *file,
|
||||
const char *function, size_t line, const char *fmt, ... )
|
||||
const char *function, int line, const char *fmt, ... )
|
||||
{
|
||||
va_list args;
|
||||
static const char *level_tab[] = {
|
||||
|
|
|
@ -81,10 +81,6 @@
|
|||
#define __FUNCTION__ NULL
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
typedef enum {
|
||||
W_MESSAGE = 0,
|
||||
W_WARNING,
|
||||
|
@ -95,7 +91,7 @@ void
|
|||
warnf ( warning_t level,
|
||||
const char *module,
|
||||
const char *file,
|
||||
const char *function, size_t line, const char *fmt, ... );
|
||||
const char *function, int line, const char *fmt, ... );
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
|
Loading…
Reference in New Issue