Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/midirecord Mark debug_log as printf-like.
details: https://anonhg.NetBSD.org/src/rev/b1e236f81013
branches: trunk
changeset: 335341:b1e236f81013
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Jan 03 22:57:54 2015 +0000
description:
Mark debug_log as printf-like.
diffstat:
usr.bin/midirecord/midirecord.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ab3b77da8d94 -r b1e236f81013 usr.bin/midirecord/midirecord.c
--- a/usr.bin/midirecord/midirecord.c Sat Jan 03 18:12:12 2015 +0000
+++ b/usr.bin/midirecord/midirecord.c Sat Jan 03 22:57:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: midirecord.c,v 1.5 2015/01/01 04:57:01 christos Exp $ */
+/* $NetBSD: midirecord.c,v 1.6 2015/01/03 22:57:54 joerg Exp $ */
/*
* Copyright (c) 2014 Matthew R. Green
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: midirecord.c,v 1.5 2015/01/01 04:57:01 christos Exp $");
+__RCSID("$NetBSD: midirecord.c,v 1.6 2015/01/03 22:57:54 joerg Exp $");
#endif
#include <sys/param.h>
@@ -75,7 +75,8 @@
static unsigned notes_per_beat = 24;
static bool ignore_timer_fail = false;
-static void debug_log(const char *, size_t, const char *, ...);
+static void debug_log(const char *, size_t, const char *, ...)
+ __printflike(3, 4);
static size_t midi_event_local_to_output(seq_event_t, u_char *, size_t);
static size_t midi_event_timer_wait_abs_to_output(seq_event_t, u_char *,
size_t);
Home |
Main Index |
Thread Index |
Old Index