openbsd-ports/sysutils/gamin/patches/patch-lib_gam_error_h
ajacoutot 494093ce60 Import (lib,py-)gamin-0.1.10
Gamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system.
The main goals of the project are:
  * minimize the security model of FAM
  * simplify the code base
  * provide an API and ABI compatible replacement for FAM
  * try to fix some other issues like resource consumption

works for bernd@
ok landry@ jasper@
2009-12-04 08:07:20 +00:00

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
/*