diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-05 13:14:19 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-05 13:14:19 +0000 |
commit | e8f6cfe03d315b5be2b3aa6f365836f552359a58 (patch) | |
tree | 5552fbad2f747df74e01937dd0b927f63ad42bf9 | |
parent | 9a153a50183f6d4974a6f4ac00ab1604cb50faff (diff) |
#define away local versions of atoi & strchr to prevent potential
name clashes with libkern versions
-rw-r--r-- | sys/scsi/ss_scanjet.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/ss_scanjet.c b/sys/scsi/ss_scanjet.c index 21c9850f310..f4b2937c487 100644 --- a/sys/scsi/ss_scanjet.c +++ b/sys/scsi/ss_scanjet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ss_scanjet.c,v 1.18 1997/03/11 12:06:49 kstailey Exp $ */ +/* $OpenBSD: ss_scanjet.c,v 1.19 1997/05/05 13:14:18 niklas Exp $ */ /* $NetBSD: ss_scanjet.c,v 1.6 1996/05/18 22:58:01 christos Exp $ */ /* @@ -65,6 +65,8 @@ int scanjet_ctl_read __P((struct ss_softc *, char *, u_int, int)); int scanjet_set_window __P((struct ss_softc *, int)); int scanjet_compute_sizes __P((struct ss_softc *, int)); /* Maybe move to libkern? */ +#define atoi local_atoi +#define strchr local_strchr __inline static int atoi __P((const char *)); __inline static char *strchr __P((/* const */ char *, char)); |