From ce8ee8d9b401c9c2828df3457815c2f4ceed4900 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Wed, 11 Jul 2001 13:47:45 +0000 Subject: 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++. --- libc/sysdeps/linux/m68k/bits/socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/m68k/bits/socket.h') 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 -- cgit v1.2.3