* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
-static const char copyright[] =
+__used static const char copyright[] =
"@(#) Copyright (c) 1992, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif
{
size_t nr;
struct stat isb, sb;
- FILE *ifp, *ofp;
+ FILE *ifp = NULL, *ofp = NULL;
int exists, isreg, oreg;
u_char buf[1024];
}
isreg = oreg = !exists || S_ISREG(sb.st_mode);
- ifp = ofp = NULL;
if ((ifp = fopen(in, "r")) == NULL) {
cwarn("%s", in);
return;
}
isreg = oreg = !exists || S_ISREG(sb.st_mode);
- ifp = ofp = NULL;
+ ofp = NULL;
if ((ifp = zopen(in, "r", bits)) == NULL) {
cwarn("%s", in);
return;