diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-03-30 16:57:43 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-03-30 16:57:43 +0000 |
commit | 63561c0a4f7a6de4071bfff61ada6a84136f41fe (patch) | |
tree | 2154eff103430325298c95b8b1815e0e8f5bcfed /sys/dev | |
parent | eb29f91b5a3d85614f6b246169800d8597c3f2b8 (diff) |
Delete unused local version of strncat.
ok mjacob@.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/isp_openbsd.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/dev/ic/isp_openbsd.h b/sys/dev/ic/isp_openbsd.h index 7e59164515e..8969ca5cad8 100644 --- a/sys/dev/ic/isp_openbsd.h +++ b/sys/dev/ic/isp_openbsd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isp_openbsd.h,v 1.23 2003/03/06 07:45:59 mjacob Exp $ */ +/* $OpenBSD: isp_openbsd.h,v 1.24 2003/03/30 16:57:42 krw Exp $ */ /* * OpenBSD Specific definitions for the Qlogic ISP Host Adapter */ @@ -306,7 +306,6 @@ void isp_uninit(struct ispsoftc *); static INLINE void isp_lock(struct ispsoftc *); static INLINE void isp_unlock(struct ispsoftc *); -static INLINE char *strncat(char *, const char *, size_t); static INLINE u_int64_t isp_microtime_sub(struct timeval *, struct timeval *); static void isp_wait_complete(struct ispsoftc *); @@ -365,24 +364,6 @@ isp_unlock(struct ispsoftc *isp) } } -static INLINE char * -strncat(char *d, const char *s, size_t c) -{ - char *t = d; - - if (c) { - while (*d) - d++; - while ((*d++ = *s++)) { - if (--c == 0) { - *d = '\0'; - break; - } - } - } - return (t); -} - static INLINE u_int64_t isp_microtime_sub(struct timeval *b, struct timeval *a) { |