aboutsummaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-07-25 21:50:50 +0000
committerBruce Evans <bde@FreeBSD.org>1995-07-25 21:50:50 +0000
commit45199dd745bcc95638ebe74756818d87f092c220 (patch)
tree77ee3d0c846e7c7fb4c499cb35567ea7826b3d70 /sys/fs
parent8089a0432e822e6ac9d177ba3dd0e62a171b620e (diff)
downloadsrc-45199dd745bcc95638ebe74756818d87f092c220.tar.gz
src-45199dd745bcc95638ebe74756818d87f092c220.zip
Change `extern inline' to `static inline' so that several functions
don't go away when the kernel is compiled with -O. The functions are backed up by extern versions in cd9660_util.c, but these versions are disabled by `#ifdef __notanymore__'. They could have been enabled by using `#if defined(__notanymore__) || !defined(__OPTIMIZE__)' but then I would have had to check that they still work. The correct way to handle all this is to replace `extern inline' by `EXTERN_INLINE' and define `EXTERN_INLINE' as `extern inline' in most modules and as empty in one module.
Notes
Notes: svn path=/head/; revision=9715
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/cd9660/iso.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/fs/cd9660/iso.h b/sys/fs/cd9660/iso.h
index 406572e42e0c..f9e5dcb94c84 100644
--- a/sys/fs/cd9660/iso.h
+++ b/sys/fs/cd9660/iso.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)iso.h 8.2 (Berkeley) 1/23/94
- * $Id: iso.h,v 1.4 1995/01/16 17:03:29 joerg Exp $
+ * $Id: iso.h,v 1.5 1995/05/30 08:05:06 rgrimes Exp $
*/
#define ISODCL(from, to) (to - from + 1)
@@ -238,56 +238,56 @@ int cd9660_mountroot __P((void));
extern int (**cd9660_vnodeop_p)();
-extern inline int
+static inline int
isonum_711(p)
unsigned char *p;
{
return *p;
}
-extern inline int
+static inline int
isonum_712(p)
char *p;
{
return *p;
}
-extern inline int
+static inline int
isonum_721(p)
unsigned char *p;
{
return *p|((char)p[1] << 8);
}
-extern inline int
+static inline int
isonum_722(p)
unsigned char *p;
{
return ((char)*p << 8)|p[1];
}
-extern inline int
+static inline int
isonum_723(p)
unsigned char *p;
{
return isonum_721(p);
}
-extern inline int
+static inline int
isonum_731(p)
unsigned char *p;
{
return *p|(p[1] << 8)|(p[2] << 16)|(p[3] << 24);
}
-extern inline int
+static inline int
isonum_732(p)
unsigned char *p;
{
return (*p << 24)|(p[1] << 16)|(p[2] << 8)|p[3];
}
-extern inline int
+static inline int
isonum_733(p)
unsigned char *p;
{