diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2002-11-05 10:55:16 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-11-05 10:55:16 +0000 |
commit | 7a9b006d78ddf40638da73f9cfee06269f840372 (patch) | |
tree | 5f0fd27bb8cb152af0bbd723a731416b42c2456d | |
parent | 71c5ce8d59601afd7eb4f56a3c7489cfa0e8931b (diff) | |
download | src-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
-rw-r--r-- | include/uuid.h | 2 | ||||
-rw-r--r-- | lib/libc/uuid/uuid.h | 2 |
2 files changed, 4 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_ */ diff --git a/lib/libc/uuid/uuid.h b/lib/libc/uuid/uuid.h index 48076156d116..dcb85c849018 100644 --- a/lib/libc/uuid/uuid.h +++ b/lib/libc/uuid/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_ */ |