summaryrefslogtreecommitdiff
path: root/source3/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
commit03a06267f4674201c107b85abf993688312c5093 (patch)
treee164b26a4965b638944c251e42769e2a3a3eb567 /source3/lib/util.c
parent13b431ff2df41f3ba5592be2ccf4789238f34750 (diff)
downloadsamba-03a06267f4674201c107b85abf993688312c5093.tar.gz
samba-03a06267f4674201c107b85abf993688312c5093.tar.bz2
samba-03a06267f4674201c107b85abf993688312c5093.zip
added simple device/inode number support based on a checksum of the
filename (This used to be commit 5674fb4e9dc4d92213d763c8cecd26efc23a9720)
Diffstat (limited to 'source3/lib/util.c')
-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 c6073cf9d6..313021abb8 100644
--- a/source3/lib/util.c
+++ b/source3/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;