So should these be static or extern?  (I guess extern).

apr_dbm_type_foo are all declared static in apr_dbm_foo.c but extern
in apr_dbm_private.h  These should be changed to extern in
apr_dbm_foo.c, right?

Example:

-static const apr_dbm_type_t apr_dbm_type_gdbm = {
+APU_DECLARE_DATA const apr_dbm_type_t apr_dbm_type_gdbm = {

I'm kinda guessing at how the code will change when I suggest that it
should be extern.  Right now, it works okay as static since
apr_dbm_foo.c is included by apr_dbm.c.

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to