Browse Source

Cleanup debug header.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
d521c2af23
3 changed files with 7 additions and 7 deletions
  1. +1
    -1
      Timeline/LASH_Client.C
  2. +5
    -1
      util/debug.C
  3. +1
    -5
      util/debug.h

+ 1
- 1
Timeline/LASH_Client.C View File

@@ -24,7 +24,7 @@


LASH_Client::LASH_Client ( ) LASH_Client::LASH_Client ( )
{ {
_void = NULL;
_void = 0;
} }


LASH_Client::~LASH_Client ( ) LASH_Client::~LASH_Client ( )


+ 5
- 1
util/debug.C View File

@@ -19,11 +19,15 @@


#include "debug.h" #include "debug.h"


#include <string.h>
#include <stdio.h>
#include <stdarg.h>

void void
warnf ( warning_t level, warnf ( warning_t level,
const char *module, const char *module,
const char *file, const char *file,
const char *function, size_t line, const char *fmt, ... )
const char *function, int line, const char *fmt, ... )
{ {
va_list args; va_list args;
static const char *level_tab[] = { static const char *level_tab[] = {


+ 1
- 5
util/debug.h View File

@@ -81,10 +81,6 @@
#define __FUNCTION__ NULL #define __FUNCTION__ NULL
#endif #endif


#include <string.h>
#include <stdio.h>
#include <stdarg.h>

typedef enum { typedef enum {
W_MESSAGE = 0, W_MESSAGE = 0,
W_WARNING, W_WARNING,
@@ -95,7 +91,7 @@ void
warnf ( warning_t level, warnf ( warning_t level,
const char *module, const char *module,
const char *file, const char *file,
const char *function, size_t line, const char *fmt, ... );
const char *function, int line, const char *fmt, ... );




#ifndef NDEBUG #ifndef NDEBUG


Loading…
Cancel
Save