1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

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>
This commit is contained in:
Juli Mallett 2002-11-05 10:55:16 +00:00
parent 71c5ce8d59
commit 7a9b006d78
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106452
2 changed files with 4 additions and 0 deletions

View File

@ -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_ */

View File

@ -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_ */