aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-11-05 10:55:16 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-11-05 10:55:16 +0000
commit7a9b006d78ddf40638da73f9cfee06269f840372 (patch)
tree5f0fd27bb8cb152af0bbd723a731416b42c2456d /include
parent71c5ce8d59601afd7eb4f56a3c7489cfa0e8931b (diff)
downloadsrc-7a9b006d78ddf40638da73f9cfee06269f840372.tar.gz
src-7a9b006d78ddf40638da73f9cfee06269f840372.zip
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>
Notes
Notes: svn path=/head/; revision=106452
Diffstat (limited to 'include')
-rw-r--r--include/uuid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uuid.h b/include/uuid.h
index 48076156d116..dcb85c849018 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_ */