head 1.18; access; symbols netbsd-10-0-RELEASE:1.18 netbsd-10-0-RC6:1.18 netbsd-10-0-RC5:1.18 netbsd-10-0-RC4:1.18 netbsd-10-0-RC3:1.18 netbsd-10-0-RC2:1.18 netbsd-10-0-RC1:1.18 netbsd-10:1.18.0.2 netbsd-10-base:1.18 netbsd-9-3-RELEASE:1.17 cjep_sun2x-base1:1.17 cjep_sun2x:1.17.0.34 cjep_sun2x-base:1.17 cjep_staticlib_x-base1:1.17 netbsd-9-2-RELEASE:1.17 cjep_staticlib_x:1.17.0.32 cjep_staticlib_x-base:1.17 netbsd-9-1-RELEASE:1.17 phil-wifi-20200421:1.17 phil-wifi-20200411:1.17 is-mlppp:1.17.0.30 is-mlppp-base:1.17 phil-wifi-20200406:1.17 netbsd-8-2-RELEASE:1.17 netbsd-9-0-RELEASE:1.17 netbsd-9-0-RC2:1.17 netbsd-9-0-RC1:1.17 phil-wifi-20191119:1.17 netbsd-9:1.17.0.28 netbsd-9-base:1.17 phil-wifi-20190609:1.17 netbsd-8-1-RELEASE:1.17 netbsd-8-1-RC1:1.17 pgoyette-compat-merge-20190127:1.17 pgoyette-compat-20190127:1.17 pgoyette-compat-20190118:1.17 pgoyette-compat-1226:1.17 pgoyette-compat-1126:1.17 pgoyette-compat-1020:1.17 pgoyette-compat-0930:1.17 pgoyette-compat-0906:1.17 netbsd-7-2-RELEASE:1.17 pgoyette-compat-0728:1.17 netbsd-8-0-RELEASE:1.17 phil-wifi:1.17.0.26 phil-wifi-base:1.17 pgoyette-compat-0625:1.17 netbsd-8-0-RC2:1.17 pgoyette-compat-0521:1.17 pgoyette-compat-0502:1.17 pgoyette-compat-0422:1.17 netbsd-8-0-RC1:1.17 pgoyette-compat-0415:1.17 pgoyette-compat-0407:1.17 pgoyette-compat-0330:1.17 pgoyette-compat-0322:1.17 pgoyette-compat-0315:1.17 netbsd-7-1-2-RELEASE:1.17 pgoyette-compat:1.17.0.24 pgoyette-compat-base:1.17 netbsd-7-1-1-RELEASE:1.17 matt-nb8-mediatek:1.17.0.22 matt-nb8-mediatek-base:1.17 perseant-stdc-iso10646:1.17.0.20 perseant-stdc-iso10646-base:1.17 netbsd-8:1.17.0.18 netbsd-8-base:1.17 prg-localcount2-base3:1.17 prg-localcount2-base2:1.17 prg-localcount2-base1:1.17 prg-localcount2:1.17.0.16 prg-localcount2-base:1.17 pgoyette-localcount-20170426:1.17 bouyer-socketcan-base1:1.17 pgoyette-localcount-20170320:1.17 netbsd-7-1:1.17.0.14 netbsd-7-1-RELEASE:1.17 netbsd-7-1-RC2:1.17 netbsd-7-nhusb-base-20170116:1.17 bouyer-socketcan:1.17.0.12 bouyer-socketcan-base:1.17 pgoyette-localcount-20170107:1.17 netbsd-7-1-RC1:1.17 pgoyette-localcount-20161104:1.17 netbsd-7-0-2-RELEASE:1.17 localcount-20160914:1.17 netbsd-7-nhusb:1.17.0.10 netbsd-7-nhusb-base:1.17 pgoyette-localcount-20160806:1.17 pgoyette-localcount-20160726:1.17 pgoyette-localcount:1.17.0.8 pgoyette-localcount-base:1.17 netbsd-7-0-1-RELEASE:1.17 netbsd-7-0:1.17.0.6 netbsd-7-0-RELEASE:1.17 netbsd-7-0-RC3:1.17 netbsd-7-0-RC2:1.17 netbsd-7-0-RC1:1.17 netbsd-5-2-3-RELEASE:1.14 netbsd-5-1-5-RELEASE:1.14 netbsd-6-0-6-RELEASE:1.16 netbsd-6-1-5-RELEASE:1.16 netbsd-7:1.17.0.4 netbsd-7-base:1.17 yamt-pagecache-base9:1.17 yamt-pagecache-tag8:1.16 netbsd-6-1-4-RELEASE:1.16 netbsd-6-0-5-RELEASE:1.16 tls-earlyentropy:1.17.0.2 tls-earlyentropy-base:1.17 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.17 riastradh-drm2-base3:1.17 netbsd-6-1-3-RELEASE:1.16 netbsd-6-0-4-RELEASE:1.16 netbsd-5-2-2-RELEASE:1.14 netbsd-5-1-4-RELEASE:1.14 netbsd-6-1-2-RELEASE:1.16 netbsd-6-0-3-RELEASE:1.16 netbsd-5-2-1-RELEASE:1.14 netbsd-5-1-3-RELEASE:1.14 netbsd-6-1-1-RELEASE:1.16 riastradh-drm2-base2:1.16 riastradh-drm2-base1:1.16 riastradh-drm2:1.16.0.12 riastradh-drm2-base:1.16 netbsd-6-1:1.16.0.16 netbsd-6-0-2-RELEASE:1.16 netbsd-6-1-RELEASE:1.16 netbsd-6-1-RC4:1.16 netbsd-6-1-RC3:1.16 agc-symver:1.16.0.14 agc-symver-base:1.16 netbsd-6-1-RC2:1.16 netbsd-6-1-RC1:1.16 yamt-pagecache-base8:1.16 netbsd-5-2:1.14.0.50 netbsd-6-0-1-RELEASE:1.16 yamt-pagecache-base7:1.16 netbsd-5-2-RELEASE:1.14 netbsd-5-2-RC1:1.14 matt-nb6-plus-nbase:1.16 yamt-pagecache-base6:1.16 netbsd-6-0:1.16.0.10 netbsd-6-0-RELEASE:1.16 netbsd-6-0-RC2:1.16 tls-maxphys:1.16.0.8 tls-maxphys-base:1.17 matt-nb6-plus:1.16.0.6 matt-nb6-plus-base:1.16 netbsd-6-0-RC1:1.16 yamt-pagecache-base5:1.16 yamt-pagecache-base4:1.16 netbsd-6:1.16.0.4 netbsd-6-base:1.16 netbsd-5-1-2-RELEASE:1.14 netbsd-5-1-1-RELEASE:1.14 yamt-pagecache-base3:1.16 yamt-pagecache-base2:1.16 yamt-pagecache:1.16.0.2 yamt-pagecache-base:1.16 cherry-xenmp:1.15.0.4 cherry-xenmp-base:1.15 uebayasi-xip-base7:1.15 bouyer-quota2-nbase:1.15 bouyer-quota2:1.15.0.2 bouyer-quota2-base:1.15 matt-mips64-premerge-20101231:1.15 matt-nb5-mips64-premerge-20101231:1.14 matt-nb5-pq3:1.14.0.48 matt-nb5-pq3-base:1.14 netbsd-5-1:1.14.0.46 uebayasi-xip-base6:1.15 uebayasi-xip-base5:1.15 netbsd-5-1-RELEASE:1.14 uebayasi-xip-base4:1.15 uebayasi-xip-base3:1.15 netbsd-5-1-RC4:1.14 matt-nb5-mips64-k15:1.14 uebayasi-xip-base2:1.15 netbsd-5-1-RC3:1.14 netbsd-5-1-RC2:1.14 uebayasi-xip-base1:1.15 netbsd-5-1-RC1:1.14 uebayasi-xip:1.14.0.44 uebayasi-xip-base:1.14 netbsd-5-0-2-RELEASE:1.14 matt-nb5-mips64-premerge-20091211:1.14 matt-premerge-20091211:1.14 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.14 matt-nb4-mips64-k7-u2a-k9b:1.14 matt-nb5-mips64-u1-k1-k5:1.14 matt-nb5-mips64:1.14.0.42 netbsd-5-0-1-RELEASE:1.14 jym-xensuspend-nbase:1.14 netbsd-5-0:1.14.0.40 netbsd-5-0-RELEASE:1.14 netbsd-5-0-RC4:1.14 netbsd-5-0-RC3:1.14 netbsd-5-0-RC2:1.14 jym-xensuspend:1.14.0.38 jym-xensuspend-base:1.14 netbsd-5-0-RC1:1.14 christos-time_t-nbase:1.14 christos-time_t:1.14.0.36 christos-time_t-base:1.14 netbsd-5:1.14.0.34 netbsd-5-base:1.14 matt-mips64-base2:1.14 matt-mips64:1.14.0.32 mjf-devfs2:1.14.0.30 mjf-devfs2-base:1.14 netbsd-4-0-1-RELEASE:1.14 wrstuden-revivesa-base-3:1.14 wrstuden-revivesa-base-2:1.14 wrstuden-fixsa-newbase:1.14 wrstuden-revivesa-base-1:1.14 simonb-wapbl-nbase:1.14 yamt-pf42-base4:1.14 simonb-wapbl:1.14.0.28 simonb-wapbl-base:1.14 yamt-pf42-base3:1.14 hpcarm-cleanup-nbase:1.14 yamt-pf42-baseX:1.14 yamt-pf42-base2:1.14 wrstuden-revivesa:1.14.0.26 wrstuden-revivesa-base:1.14 yamt-pf42:1.14.0.24 yamt-pf42-base:1.14 keiichi-mipv6:1.14.0.22 keiichi-mipv6-base:1.14 matt-armv6-nbase:1.14 matt-armv6-prevmlocking:1.14 wrstuden-fixsa-base-1:1.14 netbsd-4-0:1.14.0.20 netbsd-4-0-RELEASE:1.14 cube-autoconf:1.14.0.18 cube-autoconf-base:1.14 netbsd-4-0-RC5:1.14 netbsd-4-0-RC4:1.14 netbsd-4-0-RC3:1.14 netbsd-4-0-RC2:1.14 netbsd-4-0-RC1:1.14 matt-armv6:1.14.0.16 matt-armv6-base:1.14 matt-mips64-base:1.14 hpcarm-cleanup:1.14.0.14 hpcarm-cleanup-base:1.14 netbsd-3-1-1-RELEASE:1.14 netbsd-3-0-3-RELEASE:1.14 wrstuden-fixsa:1.14.0.12 wrstuden-fixsa-base:1.14 abandoned-netbsd-4-base:1.14 abandoned-netbsd-4:1.14.0.6 netbsd-3-1:1.14.0.8 netbsd-3-1-RELEASE:1.14 netbsd-3-0-2-RELEASE:1.14 netbsd-3-1-RC4:1.14 netbsd-3-1-RC3:1.14 netbsd-3-1-RC2:1.14 netbsd-3-1-RC1:1.14 netbsd-4:1.14.0.10 netbsd-4-base:1.14 netbsd-3-0-1-RELEASE:1.14 netbsd-3-0:1.14.0.4 netbsd-3-0-RELEASE:1.14 netbsd-3-0-RC6:1.14 netbsd-3-0-RC5:1.14 netbsd-3-0-RC4:1.14 netbsd-3-0-RC3:1.14 netbsd-3-0-RC2:1.14 netbsd-3-0-RC1:1.14 netbsd-2-0-3-RELEASE:1.13 netbsd-2-1:1.13.0.6 netbsd-2-1-RELEASE:1.13 netbsd-2-1-RC6:1.13 netbsd-2-1-RC5:1.13 netbsd-2-1-RC4:1.13 netbsd-2-1-RC3:1.13 netbsd-2-1-RC2:1.13 netbsd-2-1-RC1:1.13 netbsd-2-0-2-RELEASE:1.13 netbsd-3:1.14.0.2 netbsd-3-base:1.14 netbsd-2-0-1-RELEASE:1.13 netbsd-2:1.13.0.4 netbsd-2-base:1.13 netbsd-2-0-RELEASE:1.13 netbsd-2-0-RC5:1.13 netbsd-2-0-RC4:1.13 netbsd-2-0-RC3:1.13 netbsd-2-0-RC2:1.13 netbsd-2-0-RC1:1.13 netbsd-2-0:1.13.0.2 netbsd-2-0-base:1.13 netbsd-1-6-PATCH002-RELEASE:1.12 netbsd-1-6-PATCH002:1.12 netbsd-1-6-PATCH002-RC4:1.12 netbsd-1-6-PATCH002-RC3:1.12 netbsd-1-6-PATCH002-RC2:1.12 netbsd-1-6-PATCH002-RC1:1.12 netbsd-1-6-PATCH001:1.12 netbsd-1-6-PATCH001-RELEASE:1.12 netbsd-1-6-PATCH001-RC3:1.12 netbsd-1-6-PATCH001-RC2:1.12 netbsd-1-6-PATCH001-RC1:1.12 nathanw_sa_before_merge:1.12 nathanw_sa_end:1.12 fvdl_fs64_base:1.12 nathanw_sa_base:1.12 netbsd-1-6-RELEASE:1.12 netbsd-1-6-RC3:1.12 netbsd-1-6-RC2:1.12 netbsd-1-6-RC1:1.12 netbsd-1-6:1.12.0.14 netbsd-1-6-base:1.12 netbsd-1-5-PATCH003:1.12 netbsd-1-5-PATCH002:1.12 netbsd-1-5-PATCH001:1.12 nathanw_sa:1.12.0.12 netbsd-1-5-RELEASE:1.12 netbsd-1-5-BETA2:1.12 netbsd-1-5-BETA:1.12 netbsd-1-4-PATCH003:1.12 netbsd-1-5-ALPHA2:1.12 netbsd-1-5:1.12.0.10 netbsd-1-5-base:1.12 minoura-xpg4dl:1.12.0.8 minoura-xpg4dl-base:1.12 netbsd-1-4-PATCH002:1.12 wrstuden-devbsize-19991221:1.12 wrstuden-devbsize:1.12.0.6 wrstuden-devbsize-base:1.12 comdex-fall-1999:1.12.0.4 comdex-fall-1999-base:1.12 netbsd-1-4-PATCH001:1.12 netbsd-1-4-RELEASE:1.12 netbsd-1-4:1.12.0.2 netbsd-1-4-base:1.12 netbsd-1-3-PATCH003:1.11 netbsd-1-3-PATCH003-CANDIDATE2:1.11 netbsd-1-3-PATCH003-CANDIDATE1:1.11 netbsd-1-3-PATCH003-CANDIDATE0:1.11 netbsd-1-3-PATCH002:1.11 netbsd-1-3-PATCH001:1.11 lite-2:1.1.1.1 CSRG:1.1.1 netbsd-1-3-RELEASE:1.11 netbsd-1-3-BETA:1.11 netbsd-1-3:1.11.0.8 netbsd-1-3-base:1.11 netbsd-1-2-PATCH001:1.11 nsswitch:1.11.0.4 netbsd-1-2-RELEASE:1.11 netbsd-1-2-BETA:1.11 netbsd-1-2-base:1.11 netbsd-1-2:1.11.0.6 netbsd-1-1-PATCH001:1.11 netbsd-1-1-RELEASE:1.11 netbsd-1-1:1.11.0.2 netbsd-1-1-base:1.11 netbsd-1-0-PATCH06:1.9 netbsd-1-0-PATCH05:1.9 netbsd-1-0-PATCH04:1.9 netbsd-1-0-PATCH03:1.9 netbsd-1-0-PATCH02:1.9 netbsd-1-0-PATCH1:1.9 netbsd-1-0-PATCH0:1.9 netbsd-1-0-RELEASE:1.9 netbsd-1-0:1.9.0.2 netbsd-1-0-base:1.9 netbsd-0-9-RELEASE:1.2 netbsd-0-9-BETA:1.2 netbsd-0-9-ALPHA2:1.2 netbsd-0-9-ALPHA:1.2 netbsd-0-9:1.2.0.2 netbsd-0-9-base:1.2; locks; strict; comment @ * @; 1.18 date 2022.01.06.00.16.47; author uwe; state Exp; branches; next 1.17; commitid DKEW9neykL8EqvnD; 1.17 date 2014.01.16.17.22.06; author christos; state Exp; branches; next 1.16; commitid HXp0ddgVjpaCHmlx; 1.16 date 2011.07.17.20.54.34; author joerg; state Exp; branches 1.16.2.1 1.16.8.1; next 1.15; 1.15 date 2010.02.25.18.37.12; author joerg; state Exp; branches; next 1.14; 1.14 date 2005.02.03.04.39.32; author perry; state Exp; branches 1.14.44.1; next 1.13; 1.13 date 2003.08.07.09.44.10; author agc; state Exp; branches; next 1.12; 1.12 date 98.07.30.00.44.15; author mycroft; state Exp; branches; next 1.11; 1.11 date 94.10.26.00.55.52; author cgd; state Exp; branches; next 1.10; 1.10 date 94.10.19.03.44.57; author cgd; state Exp; branches; next 1.9; 1.9 date 94.05.22.23.14.07; author cgd; state Exp; branches; next 1.8; 1.8 date 94.01.27.01.27.30; author jtc; state Exp; branches; next 1.7; 1.7 date 93.12.01.23.59.27; author jtc; state Exp; branches; next 1.6; 1.6 date 93.11.06.00.46.23; author cgd; state Exp; branches; next 1.5; 1.5 date 93.11.06.00.43.59; author cgd; state Exp; branches; next 1.4; 1.4 date 93.08.04.17.33.37; author jtc; state Exp; branches; next 1.3; 1.3 date 93.08.01.18.44.55; author mycroft; state Exp; branches; next 1.2; 1.2 date 93.05.01.15.18.57; author mycroft; state Exp; branches; next 1.1; 1.1 date 93.04.30.23.57.07; author glass; state Exp; branches 1.1.1.1; next ; 1.16.2.1 date 2014.05.22.11.36.35; author yamt; state Exp; branches; next ; commitid OndjEcbQZzO4KwBx; 1.16.8.1 date 2014.08.20.00.02.05; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.14.44.1 date 2010.04.30.14.36.17; author uebayasi; state Exp; branches; next ; 1.1.1.1 date 98.02.02.07.23.12; author perry; state Exp; branches; next ; desc @@ 1.18 log @err.h: dead once is dead enough Per joerg's advice keep the __dead in front position as it is where _Noreturn would go. @ text @/* $NetBSD: err.h,v 1.17 2014/01/16 17:22:06 christos Exp $ */ /*- * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @@(#)err.h 8.1 (Berkeley) 6/2/93 */ #ifndef _ERR_H_ #define _ERR_H_ #include #include __BEGIN_DECLS __dead void err(int, const char *, ...) __printflike(2, 3); __dead void verr(int, const char *, va_list) __printflike(2, 0); __dead void errx(int, const char *, ...) __printflike(2, 3); __dead void verrx(int, const char *, va_list) __printflike(2, 0); __dead void errc(int, int, const char *, ...) __printflike(3, 4); __dead void verrc(int, int, const char *, va_list) __printflike(3, 0); void warn(const char *, ...) __printflike(1, 2); void vwarn(const char *, va_list) __printflike(1, 0); void warnx(const char *, ...) __printflike(1, 2); void vwarnx(const char *, va_list) __printflike(1, 0); void warnc(int, const char *, ...) __printflike(2, 3); void vwarnc(int, const char *, va_list) __printflike(2, 0); __END_DECLS #endif /* !_ERR_H_ */ @ 1.17 log @Add the {v,}{warn,err}c function flavors from FreeBSD @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.16 2011/07/17 20:54:34 joerg Exp $ */ d42 1 a42 1 __printflike(2, 3) __dead; d44 1 a44 1 __printflike(2, 0) __dead; d46 1 a46 1 __printflike(2, 3) __dead; d48 1 a48 1 __printflike(2, 0) __dead; d50 1 a50 1 __printflike(3, 4) __dead; d52 1 a52 1 __printflike(3, 0) __dead; @ 1.16 log @Retire varargs.h support. Move machine/stdarg.h logic into MI sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards. @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.15 2010/02/25 18:37:12 joerg Exp $ */ d49 4 d61 4 @ 1.16.8.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 /* $NetBSD$ */ a48 4 __dead void errc(int, int, const char *, ...) __printflike(3, 4) __dead; __dead void verrc(int, int, const char *, va_list) __printflike(3, 0) __dead; a56 4 void warnc(int, const char *, ...) __printflike(2, 3); void vwarnc(int, const char *, va_list) __printflike(2, 0); @ 1.16.2.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.16 2011/07/17 20:54:34 joerg Exp $ */ a48 4 __dead void errc(int, int, const char *, ...) __printflike(3, 4) __dead; __dead void verrc(int, int, const char *, va_list) __printflike(3, 0) __dead; a56 4 void warnc(int, const char *, ...) __printflike(2, 3); void vwarnc(int, const char *, va_list) __printflike(2, 0); @ 1.15 log @Consistently use __printflike and __scanflike. @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.14 2005/02/03 04:39:32 perry Exp $ */ a36 8 /* * Don't use va_list in the err/warn prototypes. Va_list is typedef'd in two * places ( and ), so if we include one * of them here we may collide with the utility's includes. It's unreasonable * for utilities to have to include one of them to include err.h, so we get * _BSD_VA_LIST_ from and use it. */ #include d38 1 d43 1 a43 1 __dead void verr(int, const char *, _BSD_VA_LIST_) d47 1 a47 1 __dead void verrx(int, const char *, _BSD_VA_LIST_) d51 1 a51 1 void vwarn(const char *, _BSD_VA_LIST_) d55 1 a55 1 void vwarnx(const char *, _BSD_VA_LIST_) @ 1.14 log @de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos. @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.13 2003/08/07 09:44:10 agc Exp $ */ d49 1 a49 1 __attribute__((__noreturn__, __format__(__printf__, 2, 3))); d51 1 a51 1 __attribute__((__noreturn__, __format__(__printf__, 2, 0))); d53 1 a53 1 __attribute__((__noreturn__, __format__(__printf__, 2, 3))); d55 1 a55 1 __attribute__((__noreturn__, __format__(__printf__, 2, 0))); d57 1 a57 1 __attribute__((__format__(__printf__, 1, 2))); d59 1 a59 1 __attribute__((__format__(__printf__, 1, 0))); d61 1 a61 1 __attribute__((__format__(__printf__, 1, 2))); d63 1 a63 1 __attribute__((__format__(__printf__, 1, 0))); @ 1.14.44.1 log @Sync with HEAD. @ text @d1 1 a1 1 /* $NetBSD$ */ d49 1 a49 1 __printflike(2, 3) __dead; d51 1 a51 1 __printflike(2, 0) __dead; d53 1 a53 1 __printflike(2, 3) __dead; d55 1 a55 1 __printflike(2, 0) __dead; d57 1 a57 1 __printflike(1, 2); d59 1 a59 1 __printflike(1, 0); d61 1 a61 1 __printflike(1, 2); d63 1 a63 1 __printflike(1, 0); @ 1.13 log @Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22270, verified by myself. @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.12 1998/07/30 00:44:15 mycroft Exp $ */ d48 1 a48 1 __dead void err __P((int, const char *, ...)) d50 1 a50 1 __dead void verr __P((int, const char *, _BSD_VA_LIST_)) d52 1 a52 1 __dead void errx __P((int, const char *, ...)) d54 1 a54 1 __dead void verrx __P((int, const char *, _BSD_VA_LIST_)) d56 1 a56 1 void warn __P((const char *, ...)) d58 1 a58 1 void vwarn __P((const char *, _BSD_VA_LIST_)) d60 1 a60 1 void warnx __P((const char *, ...)) d62 1 a62 1 void vwarnx __P((const char *, _BSD_VA_LIST_)) @ 1.12 log @__Namespace__ __protection__. @ text @d1 1 a1 1 /* $NetBSD: err.h,v 1.11 1994/10/26 00:55:52 cgd Exp $ */ d15 1 a15 5 * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors @ 1.11 log @new RCS ID format. @ text @d1 1 a1 1 /* $NetBSD$ */ d53 1 a53 1 __attribute__((noreturn, format (printf, 2, 3))); d55 1 a55 1 __attribute__((noreturn, format (printf, 2, 0))); d57 1 a57 1 __attribute__((noreturn, format (printf, 2, 3))); d59 1 a59 1 __attribute__((noreturn, format (printf, 2, 0))); d61 1 a61 1 __attribute__((format (printf, 1, 2))); d63 1 a63 1 __attribute__((format (printf, 1, 0))); d65 1 a65 1 __attribute__((format (printf, 1, 2))); d67 1 a67 1 __attribute__((format (printf, 1, 0))); @ 1.10 log @better attributes. @ text @d1 2 d35 1 a35 2 * from: @@(#)err.h 8.1 (Berkeley) 6/2/93 * $Id: err.h,v 1.9 1994/05/22 23:14:07 cgd Exp $ @ 1.9 log @_VA_LIST_ -> _BSD_VA_LIST_ @ text @d34 1 a34 1 * $Id: err.h,v 1.8 1994/01/27 01:27:30 jtc Exp $ d52 1 a52 1 __attribute__((format (printf, 2, 3))); d54 1 a54 1 __attribute__((format (printf, 2, 0))); d56 1 a56 1 __attribute__((format (printf, 2, 3))); d58 1 a58 1 __attribute__((format (printf, 2, 0))); @ 1.8 log @Change __attribute -> __attribute__. The former isn't turned off by sys/cdefs.h when not using Gcc, the latter is. @ text @d34 1 a34 1 * $Id: err.h,v 1.7 1993/12/01 23:59:27 jtc Exp $ d53 1 a53 1 __dead void verr __P((int, const char *, _VA_LIST_)) d57 1 a57 1 __dead void verrx __P((int, const char *, _VA_LIST_)) d61 1 a61 1 void vwarn __P((const char *, _VA_LIST_)) d65 1 a65 1 void vwarnx __P((const char *, _VA_LIST_)) @ 1.7 log @Use GCC's format attribute (for bug detection with -Wformat). @ text @d34 1 a34 1 * $Id: err.h,v 1.6 1993/11/06 00:46:23 cgd Exp $ d52 1 a52 1 __attribute((format (printf, 2, 3))); d54 1 a54 1 __attribute((format (printf, 2, 0))); d56 1 a56 1 __attribute((format (printf, 2, 3))); d58 1 a58 1 __attribute((format (printf, 2, 0))); d60 1 a60 1 __attribute((format (printf, 1, 2))); d62 1 a62 1 __attribute((format (printf, 1, 0))); d64 1 a64 1 __attribute((format (printf, 1, 2))); d66 1 a66 1 __attribute((format (printf, 1, 0))); @ 1.6 log @trim _BSD off of _BSD_VA_LIST, so that we don't have to change all standard headers (yet). @ text @d34 1 a34 1 * $Id: err.h,v 1.5 1993/11/06 00:43:59 cgd Exp $ d51 16 a66 8 __dead void err __P((int, const char *, ...)); __dead void verr __P((int, const char *, _VA_LIST_)); __dead void errx __P((int, const char *, ...)); __dead void verrx __P((int, const char *, _VA_LIST_)); void warn __P((const char *, ...)); void vwarn __P((const char *, _VA_LIST_)); void warnx __P((const char *, ...)); void vwarnx __P((const char *, _VA_LIST_)); @ 1.5 log @update to latest version @ text @d34 1 a34 1 * $Id$ d52 1 a52 1 __dead void verr __P((int, const char *, _BSD_VA_LIST_)); d54 1 a54 1 __dead void verrx __P((int, const char *, _BSD_VA_LIST_)); d56 1 a56 1 void vwarn __P((const char *, _BSD_VA_LIST_)); d58 1 a58 1 void vwarnx __P((const char *, _BSD_VA_LIST_)); @ 1.4 log @Change volatile qualifier to __dead, for when cc != gcc. @ text @d2 2 a3 2 * Copyright (c) 1993 The Regents of the University of California. * All rights reserved. d33 2 a34 2 * from: @@(#)err.h 5.1 (Berkeley) 3/4/93 * $Id: err.h,v 1.3 1993/08/01 18:44:55 mycroft Exp $ a46 2 /* s/_BSD_VA_LIST_/_VA_LIST_ to avoid major changes at this time */ d52 1 a52 1 __dead void verr __P((int, const char *, _VA_LIST_)); d54 1 a54 1 __dead void verrx __P((int, const char *, _VA_LIST_)); d56 1 a56 1 void vwarn __P((const char *, _VA_LIST_)); d58 1 a58 1 void vwarnx __P((const char *, _VA_LIST_)); @ 1.3 log @Add RCS identifiers. @ text @d34 1 a34 1 * $Id: $ d53 4 a56 4 volatile void err __P((int, const char *, ...)); volatile void verr __P((int, const char *, _VA_LIST_)); volatile void errx __P((int, const char *, ...)); volatile void verrx __P((int, const char *, _VA_LIST_)); @ 1.2 log @s/__dead/volatile/ @ text @d33 2 a34 1 * @@(#)err.h 5.1 (Berkeley) 3/4/93 @ 1.1 log @oops @ text @d52 4 a55 4 __dead void err __P((int, const char *, ...)); __dead void verr __P((int, const char *, _VA_LIST_)); __dead void errx __P((int, const char *, ...)); __dead void verrx __P((int, const char *, _VA_LIST_)); @ 1.1.1.1 log @import lite-2 @ text @d2 2 a3 2 * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. d33 1 a33 1 * @@(#)err.h 8.1 (Berkeley) 6/2/93 d46 2 d53 1 a53 1 __dead void verr __P((int, const char *, _BSD_VA_LIST_)); d55 1 a55 1 __dead void verrx __P((int, const char *, _BSD_VA_LIST_)); d57 1 a57 1 void vwarn __P((const char *, _BSD_VA_LIST_)); d59 1 a59 1 void vwarnx __P((const char *, _BSD_VA_LIST_)); @