diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2002-11-05 10:57:53 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2002-11-05 10:57:53 +0000 |
commit | 69af598209bc09df5bfae5b0bc49c4da8909d2d5 (patch) | |
tree | 26458bf03b7f45a88c6373f5787c605a2337881b /sys | |
parent | 791e59f673c8c34b77273362510fdb082daf1288 (diff) | |
download | src-69af598209bc09df5bfae5b0bc49c4da8909d2d5.tar.gz src-69af598209bc09df5bfae5b0bc49c4da8909d2d5.zip |
Wrap function prototype declarations in __BEGIN_DECLS to do the right thing
with them in non-C cases, outside of the kernel.
Include <sys/cdefs.h> for __BEGIN_DECLS/__END_DECLS as other headers seem
to do in this area.
Requested by: Patrick Hartling <patrick@137.org>
Notes
Notes:
svn path=/head/; revision=106454
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/uuid.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h index 155f90964b85..f3d9927db3ce 100644 --- a/sys/sys/uuid.h +++ b/sys/sys/uuid.h @@ -29,6 +29,8 @@ #ifndef _SYS_UUID_H_ #define _SYS_UUID_H_ +#include <sys/cdefs.h> + /* Length of a node address (an IEEE 802 address). */ #define _UUID_NODE_LEN 6 @@ -63,7 +65,9 @@ int sbuf_printf_uuid(struct sbuf *, struct uuid *); /* XXX namespace pollution? */ typedef struct uuid uuid_t; +__BEGIN_DECLS int uuidgen(struct uuid *, int); +__END_DECLS #endif /* _KERNEL */ |