Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 12:42:38 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 23301 for review
Message-ID:  <200301062042.h06Kgceh004838@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=23301

Change 23301 by peter@peter_itanic2 on 2003/01/06 12:41:46

	"fix" warnings with a big hammer - ugh.

Affected files ...

.. //depot/projects/ia64/usr.bin/window/main.c#2 edit

Differences ...

==== //depot/projects/ia64/usr.bin/window/main.c#2 (text+ko) ====

@@ -55,6 +55,8 @@
 #include "char.h"
 #include "local.h"
 
+void *usage(void);
+
 #define next(a) (*++*(a) ? *(a) : (*++(a) ? *(a) : (char *)usage()))
 
 /*ARGSUSED*/
@@ -199,9 +201,10 @@
 	return 0;
 }
 
+void *
 usage()
 {
 	(void) fprintf(stderr, "usage: window [-e escape-char] [-c command] [-t] [-f] [-d]\n");
 	exit(1);
-	return 0;			/* for lint */
+	return NULL;			/* for lint */
 }

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301062042.h06Kgceh004838>