non static fn's in modules/xml.c

Andrew Bartlett abartlet at samba.org
Tue Mar 25 07:56:00 GMT 2003


On Tue, 2003-03-25 at 18:43, Stefan (metze) Metzmacher wrote:
> 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

Fixed in HEAD.

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030325/4bd0ba9f/attachment.bin


More information about the samba-technical mailing list