Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp/dist/include Add more printf annotations



details:   https://anonhg.NetBSD.org/src/rev/15e211cbde95
branches:  trunk
changeset: 933732:15e211cbde95
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 29 20:54:16 2020 +0000

description:
Add more printf annotations

diffstat:

 external/bsd/ntp/dist/include/ntp_refclock.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 4cad1fb0b00c -r 15e211cbde95 external/bsd/ntp/dist/include/ntp_refclock.h
--- a/external/bsd/ntp/dist/include/ntp_refclock.h      Fri May 29 20:16:07 2020 +0000
+++ b/external/bsd/ntp/dist/include/ntp_refclock.h      Fri May 29 20:54:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp_refclock.h,v 1.6 2020/05/25 20:47:19 christos Exp $        */
+/*     $NetBSD: ntp_refclock.h,v 1.7 2020/05/29 20:54:16 christos Exp $        */
 
 /*
  * ntp_refclock.h - definitions for reference clock support
@@ -243,9 +243,11 @@
                        struct refclockproc *, char const *, size_t);
 /* format data into la_code */
 extern void    refclock_format_lcode(
-                       struct refclockproc *, char const *, ...);
+                       struct refclockproc *, char const *, ...)
+                       NTP_PRINTF(2, 3);
 extern void    refclock_vformat_lcode(
                        struct refclockproc *, char const *, va_list);
+                       NTP_PRINTF(2, 0);
                                       
 struct refclock_atom;
 extern int     refclock_ppsaugment(



Home | Main Index | Thread Index | Old Index