Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/autofs - mark log_err() and log_errx() as __dead.



details:   https://anonhg.NetBSD.org/src/rev/c6003a338eec
branches:  trunk
changeset: 996487:c6003a338eec
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 03 12:03:22 2019 +0000

description:
- mark log_err() and log_errx() as __dead.

diffstat:

 usr.sbin/autofs/common.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 46f06cb0a263 -r c6003a338eec usr.sbin/autofs/common.h
--- a/usr.sbin/autofs/common.h  Sun Feb 03 12:02:22 2019 +0000
+++ b/usr.sbin/autofs/common.h  Sun Feb 03 12:03:22 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.h,v 1.1 2018/01/09 03:31:15 christos Exp $      */
+/*     $NetBSD: common.h,v 1.2 2019/02/03 12:03:22 mrg Exp $   */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -70,8 +70,8 @@
 void   log_init(int);
 void   log_set_peer_name(const char *);
 void   log_set_peer_addr(const char *);
-void   log_err(int, const char *, ...) __printflike(2, 3);
-void   log_errx(int, const char *, ...) __printflike(2, 3);
+void   log_err(int, const char *, ...) __printflike(2, 3) __dead;
+void   log_errx(int, const char *, ...) __printflike(2, 3) __dead;
 void   log_warn(const char *, ...) __printflike(1, 2);
 void   log_warnx(const char *, ...) __printflike(1, 2);
 void   log_debugx(const char *, ...) __printflike(1, 2);



Home | Main Index | Thread Index | Old Index