sim: callback: add printf attributes
authorMike Frysinger <vapier@gentoo.org>
Mon, 28 Jun 2021 03:21:26 +0000 (23:21 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 29 Jun 2021 06:14:58 +0000 (02:14 -0400)
commita1d9117f94cd835b266c6ec17b4cdcf4ce31b9ee
treea2a63af1428c51402143b8ba2b9458e1a7bb54ee
parent54e66d16e880f84a56caf1fd4ac9a5ffc3568bc3
sim: callback: add printf attributes

This helps these funcs get printf format checking coverage.

The sim-io.c hack as a result is a bit unfortunate, but the compiler
throws warnings when printing with empty strings.  In this one case,
we actually want that due to the side-effect of the callback halting
execution for us.
include/sim/ChangeLog
include/sim/callback.h
sim/common/ChangeLog
sim/common/sim-io.c
This page took 0.024588 seconds and 4 git commands to generate.