summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-17 22:56:13 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-17 22:56:13 +0000
commit10b53d7c6fd77f23433dd2ef12bb14b227147a48 (patch)
tree20c5cf43d124d1fa5cb1046d3508e03f57e0c870 /source/lib/util.c
parent64796ed27a3842be1dde52dd4f46698e95961767 (diff)
downloadsamba-10b53d7c6fd77f23433dd2ef12bb14b227147a48.tar.gz
samba-10b53d7c6fd77f23433dd2ef12bb14b227147a48.tar.xz
samba-10b53d7c6fd77f23433dd2ef12bb14b227147a48.zip
Merge from HEAD:
- Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index 77ffa70a471..bdf67a515ae 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -1421,7 +1421,7 @@ void smb_panic(const char *why)
A readdir wrapper which just returns the file name.
********************************************************************/
-char *readdirname(DIR *p)
+const char *readdirname(DIR *p)
{
SMB_STRUCT_DIRENT *ptr;
char *dname;