From 69af598209bc09df5bfae5b0bc49c4da8909d2d5 Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Tue, 5 Nov 2002 10:57:53 +0000 Subject: [PATCH] Wrap function prototype declarations in __BEGIN_DECLS to do the right thing with them in non-C cases, outside of the kernel. Include for __BEGIN_DECLS/__END_DECLS as other headers seem to do in this area. Requested by: Patrick Hartling --- sys/sys/uuid.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/sys/uuid.h b/sys/sys/uuid.h index 155f90964b8..f3d9927db3c 100644 --- a/sys/sys/uuid.h +++ b/sys/sys/uuid.h @@ -29,6 +29,8 @@ #ifndef _SYS_UUID_H_ #define _SYS_UUID_H_ +#include + /* 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 */