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/0efee0f5c0b3
branches: trunk
changeset: 1010579:0efee0f5c0b3
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 bddf9b9ecbd3 -r 0efee0f5c0b3 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