Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.bin/login Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/e3bd5cf31d5f
branches:  netbsd-6
changeset: 774136:e3bd5cf31d5f
user:      riz <riz%NetBSD.org@localhost>
date:      Sat May 19 17:32:46 2012 +0000

description:
Pull up following revision(s) (requested by christos in ticket #271):
        usr.bin/login/common.c: revision 1.6
        usr.bin/login/common.h: revision 1.4
- use __dead consistently.
- more clang build.
- use __dead consistently.
- more clang build.

diffstat:

 usr.bin/login/common.c |  8 ++++----
 usr.bin/login/common.h |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (59 lines):

diff -r 0f727ec5f733 -r e3bd5cf31d5f usr.bin/login/common.c
--- a/usr.bin/login/common.c    Sat May 19 15:42:03 2012 +0000
+++ b/usr.bin/login/common.c    Sat May 19 17:32:46 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.c,v 1.3.8.2 2012/05/18 17:02:31 riz Exp $       */
+/*     $NetBSD: common.c,v 1.3.8.3 2012/05/19 17:32:46 riz Exp $       */
 
 /*-
  * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -29,7 +29,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: common.c,v 1.3.8.2 2012/05/18 17:02:31 riz Exp $");
+__RCSID("$NetBSD: common.c,v 1.3.8.3 2012/05/19 17:32:46 riz Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -155,7 +155,7 @@
 }
 
 /* ARGSUSED */
-void
+void __dead
 timedout(int signo)
 {
 
@@ -372,7 +372,7 @@
        return (ttyid && (t = getttynam(ttyid)) ? t->ty_type : NULL);
 }
 
-void
+void __dead
 sleepexit(int eval)
 {
 
diff -r 0f727ec5f733 -r e3bd5cf31d5f usr.bin/login/common.h
--- a/usr.bin/login/common.h    Sat May 19 15:42:03 2012 +0000
+++ b/usr.bin/login/common.h    Sat May 19 17:32:46 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.h,v 1.1.8.1 2012/05/07 16:24:07 riz Exp $       */
+/*     $NetBSD: common.h,v 1.1.8.2 2012/05/19 17:32:46 riz Exp $       */
 
 /*-
  * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994
@@ -37,10 +37,10 @@
 char   *getloginname(void);
 void    motd(const char *);
 int     rootterm(char *);
-void    sigint(int);
-void    sleepexit(int);
+void    __dead sigint(int);
+void    __dead sleepexit(int);
 const   char *stypeof(const char *);
-void    timedout(int);
+void    __dead timedout(int);
 void    decode_ss(const char *);
 
 extern u_int   timeout;



Home | Main Index | Thread Index | Old Index