From bb33097fb79021c1a47bb4bc45c132020c47d6e4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 11 Oct 2008 22:23:07 +0200 Subject: Make sure x_fdup compiles on Samba 4. --- lib/util/xfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util/xfile.h') diff --git a/lib/util/xfile.h b/lib/util/xfile.h index 2cc369d8d8..aa14b7c30a 100644 --- a/lib/util/xfile.h +++ b/lib/util/xfile.h @@ -62,7 +62,7 @@ int x_fclose(XFILE *f); size_t x_fwrite(const void *p, size_t size, size_t nmemb, XFILE *f); /** thank goodness for asprintf() */ -int x_fileno(XFILE *f); +int x_fileno(const XFILE *f); /** simulate fflush() */ int x_fflush(XFILE *f); -- cgit