aboutsummaryrefslogtreecommitdiffstats
path: root/include/uuid.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-01-03 02:56:15 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-01-03 02:56:15 +0000
commit1d1b40fed8e4db18ec08c0d83b6a0b7c7d930895 (patch)
tree9663113cde4df52392e12bd3e2fdd1c10201eb84 /include/uuid.h
parent483e82b86ccb5519237c3f6b94e1c7efe996a89c (diff)
downloadsrc-1d1b40fed8e4db18ec08c0d83b6a0b7c7d930895.tar.gz
src-1d1b40fed8e4db18ec08c0d83b6a0b7c7d930895.zip
Constify arguments.
Notes
Notes: svn path=/head/; revision=139601
Diffstat (limited to 'include/uuid.h')
-rw-r--r--include/uuid.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/uuid.h b/include/uuid.h
index dcb85c849018..13e65ea4a09f 100644
--- a/include/uuid.h
+++ b/include/uuid.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2002 Marcel Moolenaar
+ * Copyright (c) 2002,2005 Marcel Moolenaar
* Copyright (c) 2002 Hiten Mahesh Pandya
* All rights reserved.
*
@@ -46,14 +46,14 @@
#define uuid_s_no_memory 3
__BEGIN_DECLS
-int32_t uuid_compare(uuid_t *, uuid_t *, uint32_t *);
+int32_t uuid_compare(const uuid_t *, const uuid_t *, uint32_t *);
void uuid_create(uuid_t *, uint32_t *);
void uuid_create_nil(uuid_t *, uint32_t *);
-int32_t uuid_equal(uuid_t *, uuid_t *, uint32_t *);
+int32_t uuid_equal(const uuid_t *, const uuid_t *, uint32_t *);
void uuid_from_string(const char *, uuid_t *, uint32_t *);
-uint16_t uuid_hash(uuid_t *, uint32_t *);
-int32_t uuid_is_nil(uuid_t *, uint32_t *);
-void uuid_to_string(uuid_t *, char **, uint32_t *);
+uint16_t uuid_hash(const uuid_t *, uint32_t *);
+int32_t uuid_is_nil(const uuid_t *, uint32_t *);
+void uuid_to_string(const uuid_t *, char **, uint32_t *);
__END_DECLS
#endif /* _UUID_H_ */