aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index ba2a7493d74..e311d181c9c 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2752,54 +2752,6 @@ rmdir (dpath)
2752#endif /* !HAVE_RMDIR */ 2752#endif /* !HAVE_RMDIR */
2753 2753
2754 2754
2755#ifndef BSTRING
2756
2757#ifndef bzero
2758
2759void
2760bzero (b, length)
2761 register char *b;
2762 register int length;
2763{
2764 while (length-- > 0)
2765 *b++ = 0;
2766}
2767
2768#endif /* no bzero */
2769#endif /* BSTRING */
2770
2771#if (!defined (BSTRING) && !defined (bcopy)) || defined (NEED_BCOPY)
2772#undef bcopy
2773
2774/* Saying `void' requires a declaration, above, where bcopy is used
2775 and that declaration causes pain for systems where bcopy is a macro. */
2776bcopy (b1, b2, length)
2777 register char *b1;
2778 register char *b2;
2779 register int length;
2780{
2781 while (length-- > 0)
2782 *b2++ = *b1++;
2783}
2784#endif /* (!defined (BSTRING) && !defined (bcopy)) || defined (NEED_BCOPY) */
2785
2786#ifndef BSTRING
2787#ifndef bcmp
2788int
2789bcmp (b1, b2, length) /* This could be a macro! */
2790 register char *b1;
2791 register char *b2;
2792 register int length;
2793{
2794 while (length-- > 0)
2795 if (*b1++ != *b2++)
2796 return 1;
2797
2798 return 0;
2799}
2800#endif /* no bcmp */
2801#endif /* not BSTRING */
2802
2803#ifndef HAVE_STRSIGNAL 2755#ifndef HAVE_STRSIGNAL
2804char * 2756char *
2805strsignal (code) 2757strsignal (code)