diff options
Diffstat (limited to 'app/xterm/resize.c')
-rw-r--r-- | app/xterm/resize.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/xterm/resize.c b/app/xterm/resize.c index 7fb91804e..393195f71 100644 --- a/app/xterm/resize.c +++ b/app/xterm/resize.c @@ -1,7 +1,7 @@ -/* $XTermId: resize.c,v 1.107 2008/12/30 17:07:56 tom Exp $ */ +/* $XTermId: resize.c,v 1.108 2009/05/31 14:00:16 tom Exp $ */ /* - * Copyright 2003-2007,2008 by Thomas E. Dickey + * Copyright 2003-2008,2009 by Thomas E. Dickey * * All Rights Reserved * @@ -92,10 +92,6 @@ extern struct passwd *getpwuid(); /* does ANYBODY need this? */ #endif /* SYSV && i386 */ #endif /* X_NOT_POSIX */ -#ifndef bzero -#define bzero(s, n) memset(s, 0, n) -#endif - #ifdef __MVS__ #define ESCAPE(string) "\047" string #else @@ -523,7 +519,7 @@ readstring(FILE *fp, char *buf, char *str) #if defined(USG) || defined(__UNIXOS2__) alarm(TIMEOUT); #else - bzero((char *) &it, sizeof(struct itimerval)); + memset((char *) &it, 0, sizeof(struct itimerval)); it.it_value.tv_sec = TIMEOUT; setitimer(ITIMER_REAL, &it, (struct itimerval *) NULL); #endif @@ -545,7 +541,7 @@ readstring(FILE *fp, char *buf, char *str) #if defined(USG) || defined(__UNIXOS2__) alarm(0); #else - bzero((char *) &it, sizeof(struct itimerval)); + memset((char *) &it, 0, sizeof(struct itimerval)); setitimer(ITIMER_REAL, &it, (struct itimerval *) NULL); #endif *buf = 0; |