summaryrefslogtreecommitdiffstats
path: root/include/uuid.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-11-05 10:55:16 +0000
committerjmallett <jmallett@FreeBSD.org>2002-11-05 10:55:16 +0000
commit68fee857cb451ce5917244a665f60e14ce7a8cc7 (patch)
tree5f0fd27bb8cb152af0bbd723a731416b42c2456d /include/uuid.h
parentda2dfb243fe9ccceb594dbb88c4289b113f273d4 (diff)
downloadFreeBSD-src-68fee857cb451ce5917244a665f60e14ce7a8cc7.zip
FreeBSD-src-68fee857cb451ce5917244a665f60e14ce7a8cc7.tar.gz
Wrap function prototype declarations in __BEGIN_DECLS to do the right thing
with them in non-C cases. Requested by: Patrick Hartling <patrick@137.org>
Diffstat (limited to 'include/uuid.h')
-rw-r--r--include/uuid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uuid.h b/include/uuid.h
index 4807615..dcb85c8 100644
--- a/include/uuid.h
+++ b/include/uuid.h
@@ -45,6 +45,7 @@
#define uuid_s_invalid_string_uuid 2
#define uuid_s_no_memory 3
+__BEGIN_DECLS
int32_t uuid_compare(uuid_t *, uuid_t *, uint32_t *);
void uuid_create(uuid_t *, uint32_t *);
void uuid_create_nil(uuid_t *, uint32_t *);
@@ -53,5 +54,6 @@ 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 *);
+__END_DECLS
#endif /* _UUID_H_ */
OpenPOWER on IntegriCloud