29 lines
830 B
Plaintext
29 lines
830 B
Plaintext
|
$OpenBSD: patch-lib_gam_error_h,v 1.1.1.1 2009/12/04 08:07:20 ajacoutot Exp $
|
||
|
--- lib/gam_error.h.orig Sat Nov 28 22:01:46 2009
|
||
|
+++ lib/gam_error.h Sat Nov 28 22:02:19 2009
|
||
|
@@ -47,6 +47,11 @@ void gam_error(const char *file, int line, const char*
|
||
|
|
||
|
int gam_errno(void);
|
||
|
|
||
|
+void gam_debug(const char *file, int line, const char* function,
|
||
|
+ const char* format, ...);
|
||
|
+void gam_error_init(void);
|
||
|
+void gam_error_check(void);
|
||
|
+
|
||
|
#ifdef GAM_DEBUG_ENABLED
|
||
|
|
||
|
#ifdef GAMIN_DEBUG_API
|
||
|
@@ -66,12 +71,7 @@ extern int gam_debug_active;
|
||
|
*
|
||
|
* debugging macro when debug is activated
|
||
|
*/
|
||
|
-void gam_debug(const char *file, int line, const char* function,
|
||
|
- const char* format, ...);
|
||
|
#define GAM_DEBUG if (gam_debug_active) gam_debug
|
||
|
-
|
||
|
-void gam_error_init(void);
|
||
|
-void gam_error_check(void);
|
||
|
|
||
|
#else
|
||
|
/*
|