summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-11-30 21:47:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-11-30 21:47:46 +0000
commit2b1a74232de162de072ea641cae4a1f31b8e79c1 (patch)
tree8ab0405e2363dd59d1c9eec30dd9adeb6c47417d /sys/lib
parent116b060cf4dba89b6c66be82029f24526198d4bb (diff)
missed from last bcd2bin commit
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libkern/libkern.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/lib/libkern/libkern.h b/sys/lib/libkern/libkern.h
index 375d2327894..1e3b8c64571 100644
--- a/sys/lib/libkern/libkern.h
+++ b/sys/lib/libkern/libkern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libkern.h,v 1.13 1997/11/04 19:15:08 chuck Exp $ */
+/* $OpenBSD: libkern.h,v 1.14 1997/11/30 21:47:45 mickey Exp $ */
/* $NetBSD: libkern.h,v 1.7 1996/03/14 18:52:08 christos Exp $ */
/*-
@@ -171,4 +171,8 @@ int strncmp __P((const char *, const char *, size_t));
int strncasecmp __P((const char *, const char *, size_t));
int getsn __P((char *, int));
+extern u_int8_t const __bcd2bin[], __bin2bcd[];
+#define bcd2bin(b) (__bcd2bin[(b)&0xff])
+#define bin2bcd(b) (__bin2bcd[(b)&0xff])
+
#endif /* __LIBKERN_H__ */