]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add another SENTINEL attribute
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Nov 2009 09:49:05 +0000 (10:49 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 30 Nov 2009 09:49:05 +0000 (10:49 +0100)
* src/xen/xend_internal.c (xend_op): Add ATTRIBUTE_SENTINEL.

src/xen/xend_internal.c

index 4d9dcd13592398e2197eb50fb313e70e94ff87ae..66d2e7f17dd9967123e6474f24080cd2214c6dbb 100644 (file)
@@ -552,7 +552,7 @@ xend_op_ext(virConnectPtr xend, const char *path, char *error,
  *
  * Returns 0 in case of success, -1 in case of failure.
  */
-static int
+static int ATTRIBUTE_SENTINEL
 xend_op(virConnectPtr xend, const char *name, const char *key, ...)
 {
     char buffer[1024];