aboutsummaryrefslogtreecommitdiff
path: root/sys/isofs/isofs_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isofs/isofs_util.c')
-rw-r--r--sys/isofs/isofs_util.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/isofs/isofs_util.c b/sys/isofs/isofs_util.c
index bf4548511fa2..bdaf2060ec2d 100644
--- a/sys/isofs/isofs_util.c
+++ b/sys/isofs/isofs_util.c
@@ -1,7 +1,10 @@
/*
- * $Id: isofs_util.c,v 1.2 1993/07/20 03:27:33 jkh Exp $
+ * $Id: isofs_util.c,v 1.4 1993/12/19 00:51:06 wollman Exp $
*/
+#include "param.h"
+#include "systm.h"
+
int
isonum_711 (p)
char *p;
@@ -11,19 +14,19 @@ char *p;
int
isonum_712 (p)
-char *p;
+ char *p;
{
int val;
val = *p;
if (val & 0x80)
- val |= 0xffffff00;
+ val |= ~0xff;
return (val);
}
int
isonum_721 (p)
-char *p;
+ char *p;
{
return ((p[0] & 0xff) | ((p[1] & 0xff) << 8));
}
@@ -88,6 +91,7 @@ unsigned char *p;
/*
* translate and compare a filename
*/
+int
isofncmp(char *fn, int fnlen, char *isofn, int isolen) {
int fnidx;