Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2015 17:08:05 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290938 - head/usr.sbin/ypldap
Message-ID:  <201511161708.tAGH85c1058206@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Mon Nov 16 17:08:05 2015
New Revision: 290938
URL: https://svnweb.freebsd.org/changeset/base/290938

Log:
  Replace __dead with __dead2.
  
  FreeBSD lacks __dead.

Modified:
  head/usr.sbin/ypldap/log.c
  head/usr.sbin/ypldap/ypldap.c

Modified: head/usr.sbin/ypldap/log.c
==============================================================================
--- head/usr.sbin/ypldap/log.c	Mon Nov 16 17:06:33 2015	(r290937)
+++ head/usr.sbin/ypldap/log.c	Mon Nov 16 17:08:05 2015	(r290938)
@@ -31,8 +31,8 @@ void		 log_warn(const char *, ...);
 void		 log_warnx(const char *, ...);
 void		 log_info(const char *, ...);
 void		 log_debug(const char *, ...);
-__dead void	 fatal(const char *);
-__dead void	 fatalx(const char *);
+__dead2 void	 fatal(const char *);
+__dead2 void	 fatalx(const char *);
 
 int	 debug;
 

Modified: head/usr.sbin/ypldap/ypldap.c
==============================================================================
--- head/usr.sbin/ypldap/ypldap.c	Mon Nov 16 17:06:33 2015	(r290937)
+++ head/usr.sbin/ypldap/ypldap.c	Mon Nov 16 17:08:05 2015	(r290938)
@@ -40,7 +40,7 @@
 
 #include "ypldap.h"
 
-__dead void	 usage(void);
+__dead2 void	 usage(void);
 int		 check_child(pid_t, const char *);
 void		 main_sig_handler(int, short, void *);
 void		 main_shutdown(void);



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