aboutsummaryrefslogtreecommitdiffstats
path: root/etc.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-25 16:11:07 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-25 16:11:07 +0000
commit6ab6376f3198c02173985290c5f0dff2a8210abd (patch)
treebe3d6db198738b6f5d0b822818a8d56614985533 /etc.c
parent[w3m-dev 02727] (diff)
downloadw3m-6ab6376f3198c02173985290c5f0dff2a8210abd.tar.gz
w3m-6ab6376f3198c02173985290c5f0dff2a8210abd.zip
[w3m-dev 02725] bcopy, bzero
From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
Diffstat (limited to 'etc.c')
-rw-r--r--etc.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/etc.c b/etc.c
index d9c7f4c..1af394e 100644
--- a/etc.c
+++ b/etc.c
@@ -1,4 +1,4 @@
-/* $Id: etc.c,v 1.12 2001/12/10 15:42:38 ukai Exp $ */
+/* $Id: etc.c,v 1.13 2001/12/25 16:11:07 ukai Exp $ */
#include "fm.h"
#include <pwd.h>
#include "myctype.h"
@@ -548,32 +548,6 @@ lastFileName(char *path)
return allocStr(q, -1);
}
-#ifndef HAVE_BCOPY
-void
-bcopy(void *src, void *dest, int len)
-{
- int i;
- if (src == dest)
- return;
- if (src < dest) {
- for (i = len - 1; i >= 0; i--)
- dest[i] = src[i];
- }
- else { /* src > dest */
- for (i = 0; i < len; i++)
- dest[i] = src[i];
- }
-}
-
-void
-bzero(void *ptr, int len)
-{
- int i;
- for (i = 0; i < len; i++)
- *(ptr++) = 0;
-}
-#endif /* not HAVE_BCOPY */
-
#ifdef USE_INCLUDED_SRAND48
static unsigned long R1 = 0x1234abcd;
static unsigned long R2 = 0x330e;