|
@@ -31,10 +31,12 @@ void xs_node_printf(struct xs_handle *xsh, xs_transaction_t tid,
|
|
|
/* Read from node/key unless node is empty, in which case read from key */
|
|
|
int xs_node_vscanf(struct xs_handle *xsh, xs_transaction_t tid,
|
|
|
const char *node, const char *key, Error **errp,
|
|
|
- const char *fmt, va_list ap);
|
|
|
+ const char *fmt, va_list ap)
|
|
|
+ G_GNUC_SCANF(6, 0);
|
|
|
int xs_node_scanf(struct xs_handle *xsh, xs_transaction_t tid,
|
|
|
const char *node, const char *key, Error **errp,
|
|
|
- const char *fmt, ...);
|
|
|
+ const char *fmt, ...)
|
|
|
+ G_GNUC_SCANF(6, 7);
|
|
|
|
|
|
/* Watch node/key unless node is empty, in which case watch key */
|
|
|
void xs_node_watch(struct xs_handle *xsh, const char *node, const char *key,
|