svn commit: r238508 - head/bin/stty

Jilles Tjoelker jilles at FreeBSD.org
Sun Jul 15 21:12:23 UTC 2012


Author: jilles
Date: Sun Jul 15 21:12:22 2012
New Revision: 238508
URL: http://svn.freebsd.org/changeset/base/238508

Log:
  stty: Mark usage() __dead2.
  
  This reduces code size a little and should fix a scan-build warning.

Modified:
  head/bin/stty/extern.h

Modified: head/bin/stty/extern.h
==============================================================================
--- head/bin/stty/extern.h	Sun Jul 15 20:51:41 2012	(r238507)
+++ head/bin/stty/extern.h	Sun Jul 15 21:12:22 2012	(r238508)
@@ -40,6 +40,6 @@ int	ksearch(char ***, struct info *);
 int	msearch(char ***, struct info *);
 void	optlist(void);
 void	print(struct termios *, struct winsize *, int, enum FMT);
-void	usage(void);
+void	usage(void) __dead2;
 
 extern struct cchar cchars1[], cchars2[];


More information about the svn-src-head mailing list