aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-scsilib_libschily_getfp.c
blob: bf6fb90901c130d8e3d4af8ef187672c4f23e4c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- scsilib/libschily/getfp.c.orig	2003-07-12 23:10:47 UTC
+++ scsilib/libschily/getfp.c
@@ -23,6 +23,7 @@
 #include <mconfig.h>
 #include <standard.h>
 #include <schily.h>
+#include <sys/cdefs.h>
 
 #ifndef	IS_AVOFFSET
 /*
@@ -56,7 +57,7 @@
 
 EXPORT	void	**___fpoff	__PR((char *cp));
 
-EXPORT void **
+EXPORT __noinline void **
 getfp()
 {
 		long	**dummy[1];
@@ -73,7 +74,7 @@ getfp()
  * We need this function to fool GCCs check for returning addresses
  * from outside the functions local address space.
  */
-EXPORT void **
+EXPORT __noinline void **
 ___fpoff(cp)
 	char	*cp;
 {