diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-10-26 03:43:49 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-10-26 03:43:49 +0000 |
commit | 66cfb0e720c28cad98e21ca55eab1d190522382e (patch) | |
tree | 3e13d71a1bb31ba5efaff89565250a99039a5850 /sys/arch/arc/include | |
parent | 343a6a0ed2d4c0d688ae9127aa271716707b2576 (diff) |
Fix inline function decls to work with C++.
Diffstat (limited to 'sys/arch/arc/include')
-rw-r--r-- | sys/arch/arc/include/disklabel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/arc/include/disklabel.h b/sys/arch/arc/include/disklabel.h index eaa1ce6d902..9a31a425e2d 100644 --- a/sys/arch/arc/include/disklabel.h +++ b/sys/arch/arc/include/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.14 1999/03/23 16:36:17 millert Exp $ */ +/* $OpenBSD: disklabel.h,v 1.15 1999/10/26 03:43:48 downsj Exp $ */ /* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */ /* @@ -90,8 +90,12 @@ struct cpu_disklabel { static __inline u_int32_t get_le __P((void *)); static __inline u_int32_t +#ifdef __cplusplus +get_le(void *p) +#else get_le(p) void *p; +#endif { u_int8_t *_p = (u_int8_t *)p; u_int32_t x; |