summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-16 13:21:12 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-16 13:21:12 +0000
commit400bb4bfab01a6c262b15658dee5c0d011d0e883 (patch)
tree9b75d0e768fe99a3e677538dcef7f951460aba38 /source3/lib
parent644ab8e9b13970f6c6ea7f89760a01484b591172 (diff)
downloadsamba-400bb4bfab01a6c262b15658dee5c0d011d0e883.tar.gz
samba-400bb4bfab01a6c262b15658dee5c0d011d0e883.tar.bz2
samba-400bb4bfab01a6c262b15658dee5c0d011d0e883.zip
- 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 fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
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 1f300a2815..4216310335 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1435,7 +1435,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;