From 00b8e31689c6400d8ad915067f021b8e246df989 Mon Sep 17 00:00:00 2001 From: jsm Date: Sun, 25 Mar 2001 20:43:58 +0000 Subject: Make mostly gcc -W clean, and other cleanup: Use const. Add __noreturn__ attributes. Add a __format__ attribute. Add __unused__ attributes. Use symbolic constants for open() and lseek(). Declare types of all function parameters; convert some function definitions to ISO C form. Ensure standard file descriptors are open on startup. Check for errors writing output of makedefs. Avoid duplicate definitions of variables. --- hack/date.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hack/date.h') diff --git a/hack/date.h b/hack/date.h index 0320b698..d3c66d12 100644 --- a/hack/date.h +++ b/hack/date.h @@ -1,3 +1,3 @@ -/* $NetBSD: date.h,v 1.3 1995/03/23 08:29:17 cgd Exp $ */ +/* $NetBSD: date.h,v 1.4 2001/03/25 20:43:58 jsm Exp $ */ -char datestring[] = "Tue Jul 23 1985"; +const char datestring[] = "Tue Jul 23 1985"; -- cgit v1.2.3-56-ge451