summaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660/iso.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:18:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:18:10 +0000
commite018051dbb8764df0d8660f8e0e82fa3eaefb0c4 (patch)
tree66ea15caefde695371c298d214c7d912fc813aff /sys/isofs/cd9660/iso.h
parent824a8bcbff4d4b08e7af84784fd5e5d64a74c244 (diff)
Kill some #if __STDC__ used with 8bit function args; we live in an ANSI world
Diffstat (limited to 'sys/isofs/cd9660/iso.h')
-rw-r--r--sys/isofs/cd9660/iso.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/isofs/cd9660/iso.h b/sys/isofs/cd9660/iso.h
index 89b5650a605..3656b8827ac 100644
--- a/sys/isofs/cd9660/iso.h
+++ b/sys/isofs/cd9660/iso.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: iso.h,v 1.11 2002/03/14 01:27:03 millert Exp $ */
+/* $OpenBSD: iso.h,v 1.12 2002/03/15 18:18:09 millert Exp $ */
/* $NetBSD: iso.h,v 1.20 1997/07/07 22:45:34 cgd Exp $ */
/*-
@@ -190,24 +190,14 @@ static __inline int isonum_733(u_char *) __attribute__ ((__unused__));
/* 7.1.1: unsigned char */
static __inline int
-#if __STDC__
isonum_711(u_char *p)
-#else
-isonum_711(p)
- u_char *p;
-#endif
{
return *p;
}
/* 7.1.2: signed(?) char */
static __inline int
-#if __STDC__
isonum_712(char *p)
-#else
-isonum_712(p)
- char *p;
-#endif
{
return *p;
}
@@ -238,12 +228,7 @@ isonum_722(p)
/* 7.2.3: unsigned both-endian (little, then big) 16-bit value */
static __inline int
-#if __STDC__
isonum_723(u_char *p)
-#else
-isonum_723(p)
- u_char *p;
-#endif
{
#if defined(UNALIGNED_ACCESS) && \
((BYTE_ORDER == LITTLE_ENDIAN) || (BYTE_ORDER == BIG_ENDIAN))
@@ -283,12 +268,7 @@ isonum_732(p)
/* 7.3.3: unsigned both-endian (little, then big) 32-bit value */
static __inline int
-#if __STDC__
isonum_733(u_char *p)
-#else
-isonum_733(p)
- u_char *p;
-#endif
{
#if defined(UNALIGNED_ACCESS) && \
((BYTE_ORDER == LITTLE_ENDIAN) || (BYTE_ORDER == BIG_ENDIAN))