diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-08-05 18:51:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-08-05 18:51:16 +0000 |
commit | 5eef5dca2c58f9998c53ae27264733b151fc3d1c (patch) | |
tree | 3e41f7af4ab7c46d4788809bd59cac018c306b53 | |
parent | 1d4e1d24f30accf5a1e42ada84be1961fa4f19cb (diff) |
Patch from David Wuertele to prevent "conflicts with new declaration with C
linkage" problems with C++
-rw-r--r-- | libc/sysdeps/linux/common/bits/shm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/shm.h b/libc/sysdeps/linux/common/bits/shm.h index c7e415726..6edc6763d 100644 --- a/libc/sysdeps/linux/common/bits/shm.h +++ b/libc/sysdeps/linux/common/bits/shm.h @@ -35,10 +35,14 @@ #define SHM_LOCK 11 /* lock segment (root only) */ #define SHM_UNLOCK 12 /* unlock segment (root only) */ +__BEGIN_DECLS + /* Segment low boundary address multiple. */ #define SHMLBA (__getpagesize ()) extern int __getpagesize (void) __THROW __attribute__ ((__const__)); +__END_DECLS + /* Type to count number of attaches. */ typedef unsigned short shmatt_t; |