rpc: Fix build error for virNetServerNew ATTRIBUTE_NONNULL values

Commit 5a148ce84 altered the virNetServerNew to remove a parameter
but neglected to update the ATTRIBUTE_NONNULL's which causes a build
failure for when checking is enabled such as when lv_cv_static_analysis
is enabled.

Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
John Ferlan 2019-06-30 09:56:53 -04:00
parent 599c8a364f
commit 1aa162562c

View File

@ -42,7 +42,7 @@ virNetServerPtr virNetServerNew(const char *name,
virNetServerClientPrivPreExecRestart clientPrivPreExecRestart, virNetServerClientPrivPreExecRestart clientPrivPreExecRestart,
virFreeCallback clientPrivFree, virFreeCallback clientPrivFree,
void *clientPrivOpaque) void *clientPrivOpaque)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(11) ATTRIBUTE_NONNULL(13); ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(10) ATTRIBUTE_NONNULL(12);
virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object, virNetServerPtr virNetServerNewPostExecRestart(virJSONValuePtr object,
const char *name, const char *name,