Re: Patches for sanei_debug.h/sanei_init_debug.c and the HP-backend

From: Petter Reinholdtsen (pere@hungry.com)
Date: Sun Oct 22 2000 - 19:36:37 PDT

  • Next message: Petter Reinholdtsen: "Re: bug in sanei_debug.h"

    [Jochen Eisinger]
    > 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  <##  |  pere@td.org.uit.no
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Sun Oct 22 2000 - 19:23:17 PDT