summaryrefslogtreecommitdiff
path: root/source3/lib
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
commitad0d6509a761154c113e040a82ad78e72a3ccf30 (patch)
tree13f4b6188945bfd1ada57e76c612f45a21bce5e2 /source3/lib
parentf06d1b240a0cc15bc50c907198c06fcd826d63b2 (diff)
downloadsamba-ad0d6509a761154c113e040a82ad78e72a3ccf30.tar.gz
samba-ad0d6509a761154c113e040a82ad78e72a3ccf30.tar.bz2
samba-ad0d6509a761154c113e040a82ad78e72a3ccf30.zip
Merge from HEAD:
- Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 77ffa70a47..bdf67a515a 100644
--- a/source3/lib/util.c
+++ b/source3/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;