remove unused macros

This commit is contained in:
itojun 2003-07-30 08:51:55 +00:00
parent 75c32b46eb
commit 38b27406f9
2 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: common.h,v 1.15 2003/07/12 13:47:43 itojun Exp $ */
/* $NetBSD: common.h,v 1.16 2003/07/30 08:51:55 itojun Exp $ */
/*
* Copyright (c) 1988, Larry Wall
@ -35,9 +35,6 @@
#define Close (void)close
#define Fclose (void)fclose
#define Fflush (void)fflush
#define Sprintf (void)sprintf
#define Strcpy (void)strcpy
#define Strcat (void)strcat
#include <stdio.h>
#include <string.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: util.c,v 1.18 2003/07/30 08:51:04 itojun Exp $ */
/* $NetBSD: util.c,v 1.19 2003/07/30 08:51:55 itojun Exp $ */
/*
* Copyright (c) 1988, Larry Wall
@ -24,7 +24,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: util.c,v 1.18 2003/07/30 08:51:04 itojun Exp $");
__RCSID("$NetBSD: util.c,v 1.19 2003/07/30 08:51:55 itojun Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -108,7 +108,7 @@ move_file(char *from, char *to)
if (*s)
*s = toupper(*s);
else
Strcpy(simplename, simplename + 1);
strcpy(simplename, simplename + 1);
}
while (unlink(bakname) >= 0)
; /* while() is for benefit of Eunice */