non static fn's in modules/xml.c

Stefan (metze) Metzmacher metze at metzemix.de
Tue Mar 25 07:43:39 GMT 2003


Hi Jelmer,

I found this in proto.h

/* The following definitions come from modules/xml.c  */

BOOL parsePass(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u);
BOOL parseUser(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u);
NTSTATUS xmlsam_init(PDB_CONTEXT * pdb_context, PDB_METHODS ** pdb_method,
                  const char *location);

and got this error:

In file included from include/includes.h:854,
                  from smbd/server.c:23:
include/proto.h:2059: parse error before `doc'
include/proto.h:2059: warning: function declaration isn't a prototype
include/proto.h:2060: parse error before `doc'
include/proto.h:2060: warning: function declaration isn't a prototype
make: *** [smbd/server.o] Error 1


I don't know why I'm getting this now?
it works the lst days...

but anyway this fn's should be static


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 



More information about the samba-technical mailing list