summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/bits/socket.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /libc/sysdeps/linux/m68k/bits/socket.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
Diffstat (limited to 'libc/sysdeps/linux/m68k/bits/socket.h')
-rw-r--r--libc/sysdeps/linux/m68k/bits/socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/bits/socket.h b/libc/sysdeps/linux/m68k/bits/socket.h
index dc2d58cfc..a4b090e2b 100644
--- a/libc/sysdeps/linux/m68k/bits/socket.h
+++ b/libc/sysdeps/linux/m68k/bits/socket.h
@@ -244,8 +244,10 @@ struct cmsghdr
+ CMSG_ALIGN (sizeof (struct cmsghdr)))
#define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
+__BEGIN_DECLS
extern struct cmsghdr *__cmsg_nxthdr __P ((struct msghdr *__mhdr,
struct cmsghdr *__cmsg));
+__END_DECLS
#ifdef __USE_EXTERN_INLINES
# ifndef _EXTERN_INLINE
# define _EXTERN_INLINE extern __inline