File: no-shmat-decl

package info (click to toggle)
buffer 1.19-12.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 548 kB
  • sloc: ansic: 9,288; makefile: 87; sh: 35
file content (14 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/buffer.c
+++ b/buffer.c
@@ -126,9 +126,9 @@
 static char *rcsid = "$Header: /a/swan/home/swan/staff/csg/lmjm/src/buffer/RCS/buffer.c,v 1.19 1995/08/24 17:46:28 lmjm Exp lmjm $";
 #endif
 
-#ifndef __alpha
+#if !(defined(__linux__) || defined(__GLIBC__) || defined(__GNU__))
 extern char *shmat();
-#endif /* __alpha */
+#endif
 
 /* General macros */
 #define TRUE 1