From: Hu Tao Date: Mon, 27 Dec 2010 06:29:34 +0000 (+0800) Subject: threadpool: allow NULL jobdata X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b2dbc1604480f01302fb55ee8458620704bfd351;p=libvirt.git threadpool: allow NULL jobdata Don't require non-null jobdata to virThreadPoolSendJob(). --- diff --git a/src/util/threadpool.h b/src/util/threadpool.h index 5714b0bb20..8b8c6768a8 100644 --- a/src/util/threadpool.h +++ b/src/util/threadpool.h @@ -42,7 +42,6 @@ void virThreadPoolFree(virThreadPoolPtr pool); int virThreadPoolSendJob(virThreadPoolPtr pool, void *jobdata) ATTRIBUTE_NONNULL(1) - ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK; #endif