summaryrefslogtreecommitdiff
path: root/source3/include/xfile.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-03 03:24:23 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-03 03:24:23 +0000
commit43059acb95837fce3c8fdf5fc71b96c403e61939 (patch)
tree20908cccfc34f5e4421b252ce698a3cbf534bc44 /source3/include/xfile.h
parenta63aa62bdd3ef4545cfd68123aa3e7363dcec2e2 (diff)
downloadsamba-43059acb95837fce3c8fdf5fc71b96c403e61939.tar.gz
samba-43059acb95837fce3c8fdf5fc71b96c403e61939.tar.bz2
samba-43059acb95837fce3c8fdf5fc71b96c403e61939.zip
Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
Diffstat (limited to 'source3/include/xfile.h')
-rw-r--r--source3/include/xfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/xfile.h b/source3/include/xfile.h
index a573b59a4a..89fa9d1e11 100644
--- a/source3/include/xfile.h
+++ b/source3/include/xfile.h
@@ -44,4 +44,6 @@ extern XFILE *x_stdin, *x_stdout, *x_stderr;
#define x_getc(f) x_fgetc(f)
+int x_vfprintf(XFILE *f, const char *format, va_list ap) PRINTF_ATTRIBUTE(2, 0);
+int x_fprintf(XFILE *f, const char *format, ...) PRINTF_ATTRIBUTE(2, 3);
#endif /* _XFILE_H_ */