> 1. #define DEBUG_NOT_STATIC which is declared in hp.h and forces
> sanei_debug.h not to declare the sanei_debug_call_hp function as static
> 2. #define DEBUG_DECLARE_ONLY which is declared in all hp*.c files but
> hp.c itself. This definition forces sanei_debug.h to define prototypes
> instead of real declarations... int DBG_LEVEL and void DBG (level, msg,
> ...) are only declared in hp.c...
Why were these required? If the call function is static, it can be
implemented in all the files without any conflict, right?
-- ##> Petter Reinholdtsen <## | firstname.lastname@example.org
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail email@example.com
This archive was generated by hypermail 2b29 : Sun Oct 22 2000 - 19:23:17 PDT