add a gcc-printf attribute to remoteDispatchError

Author: Jim Meyering <meyering@redhat.com>
This commit is contained in:
Jim Meyering 2007-11-26 17:41:26 +00:00
parent 881b85a8e5
commit db444b2264
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@
static void remoteDispatchError (struct qemud_client *client,
remote_message_header *req,
const char *fmt, ...);
const char *fmt, ...)
ATTRIBUTE_FORMAT(printf, 3, 4);
static virDomainPtr get_nonnull_domain (virConnectPtr conn, remote_nonnull_domain domain);
static virNetworkPtr get_nonnull_network (virConnectPtr conn, remote_nonnull_network network);
static void make_nonnull_domain (remote_nonnull_domain *dom_dst, virDomainPtr dom_src);