diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-16 13:21:12 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-16 13:21:12 +0000 |
commit | 400bb4bfab01a6c262b15658dee5c0d011d0e883 (patch) | |
tree | 9b75d0e768fe99a3e677538dcef7f951460aba38 /source3/lib | |
parent | 644ab8e9b13970f6c6ea7f89760a01484b591172 (diff) | |
download | samba-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.c | 2 |
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; |