Module Name: src Committed By: christos Date: Fri May 29 20:54:16 UTC 2020
Modified Files: src/external/bsd/ntp/dist/include: ntp_refclock.h Log Message: Add more printf annotations To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ntp/dist/include/ntp_refclock.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/ntp/dist/include/ntp_refclock.h diff -u src/external/bsd/ntp/dist/include/ntp_refclock.h:1.6 src/external/bsd/ntp/dist/include/ntp_refclock.h:1.7 --- src/external/bsd/ntp/dist/include/ntp_refclock.h:1.6 Mon May 25 16:47:19 2020 +++ src/external/bsd/ntp/dist/include/ntp_refclock.h Fri May 29 16:54:16 2020 @@ -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 @@ extern void refclock_save_lcode( 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(