From e8f6cfe03d315b5be2b3aa6f365836f552359a58 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Mon, 5 May 1997 13:14:19 +0000 Subject: #define away local versions of atoi & strchr to prevent potential name clashes with libkern versions --- sys/scsi/ss_scanjet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- cgit v1.2.3