1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

lib/util: make it possible to use debug.h with using xfile.h

metze
This commit is contained in:
Stefan Metzmacher 2008-12-17 11:34:41 +01:00
parent 46eda79090
commit b97f17ddf1
2 changed files with 3 additions and 2 deletions

View File

@ -133,6 +133,7 @@ _PUBLIC_ void register_debug_handlers(const char *name, struct debug_ops *ops);
*/
_PUBLIC_ void dbgtext(const char *format, ...) PRINTF_ATTRIBUTE(1,2);
extern XFILE *dbf;
struct _XFILE;
extern struct _XFILE *dbf;
#endif

View File

@ -23,7 +23,7 @@
see xfile.c for explanations
*/
typedef struct {
typedef struct _XFILE {
int fd;
char *buf;
char *next;