summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-03 13:12:08 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-03 13:12:08 +0000
commit5674fb4e9dc4d92213d763c8cecd26efc23a9720 (patch)
tree95ee735a35b3b0d891ec0abc9c1138bcd4a71231 /source/lib/util.c
parente040047c647df3991becbf2b45de785fc875d1ff (diff)
downloadsamba-5674fb4e9dc4d92213d763c8cecd26efc23a9720.tar.gz
samba-5674fb4e9dc4d92213d763c8cecd26efc23a9720.tar.xz
samba-5674fb4e9dc4d92213d763c8cecd26efc23a9720.zip
added simple device/inode number support based on a checksum of the
filename
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 c6073cf9d69..313021abb8b 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -4809,7 +4809,7 @@ BOOL string_to_sid(DOM_SID *sidout, char *sidstr)
*
* ****************************************************************************
*/
-int str_checksum(char *s)
+int str_checksum(const char *s)
{
int res = 0;
int c;