summaryrefslogtreecommitdiffstats
path: root/include/uuid.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2005-01-03 02:56:15 +0000
committermarcel <marcel@FreeBSD.org>2005-01-03 02:56:15 +0000
commit0be8a2d8c21f71cb919e52120adfb15b41123890 (patch)
tree9663113cde4df52392e12bd3e2fdd1c10201eb84 /include/uuid.h
parent06cfd21d61944e360ebb21e43f663f5e79d462fc (diff)
downloadFreeBSD-src-0be8a2d8c21f71cb919e52120adfb15b41123890.zip
FreeBSD-src-0be8a2d8c21f71cb919e52120adfb15b41123890.tar.gz
Constify arguments.
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 dcb85c8..13e65ea 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_ */
OpenPOWER on IntegriCloud