incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject svn commit: r1599963 - /incubator/celix/trunk/deployment_admin/private/src/deployment_admin.c
Date Wed, 04 Jun 2014 07:58:15 GMT
Author: pnoltes
Date: Wed Jun  4 07:58:15 2014
New Revision: 1599963

URL: http://svn.apache.org/r1599963
Log:
CELIX-118: (re)added the APR_THREAD_FUNC marco to the deployment_admin.

Modified:
    incubator/celix/trunk/deployment_admin/private/src/deployment_admin.c

Modified: incubator/celix/trunk/deployment_admin/private/src/deployment_admin.c
URL: http://svn.apache.org/viewvc/incubator/celix/trunk/deployment_admin/private/src/deployment_admin.c?rev=1599963&r1=1599962&r2=1599963&view=diff
==============================================================================
--- incubator/celix/trunk/deployment_admin/private/src/deployment_admin.c (original)
+++ incubator/celix/trunk/deployment_admin/private/src/deployment_admin.c Wed Jun  4 07:58:15
2014
@@ -33,6 +33,7 @@
 #include <curl/curl.h>
 #include <curl/easy.h>
 
+#include <apr.h>
 #include <apr_thread_proc.h>
 #include <apr_strings.h>
 #include <apr_time.h>
@@ -60,7 +61,7 @@
 
 #define VERSIONS "/versions"
 
-static void* deploymentAdmin_poll(apr_thread_t *thd, void *deploymentAdmin);
+static void* APR_THREAD_FUNC deploymentAdmin_poll(apr_thread_t *thd, void *deploymentAdmin);
 celix_status_t deploymentAdmin_download(char * url, char **inputFile);
 size_t deploymentAdmin_writeData(void *ptr, size_t size, size_t nmemb, FILE *stream);
 static celix_status_t deploymentAdmin_deleteTree(char * directory, apr_pool_t *mp);
@@ -164,7 +165,7 @@ static celix_status_t deploymentAdmin_up
 	return status;
 }
 
-static void * deploymentAdmin_poll(apr_thread_t *thd, void *deploymentAdmin) {
+static void * APR_THREAD_FUNC deploymentAdmin_poll(apr_thread_t *thd, void *deploymentAdmin)
{
 	deployment_admin_pt admin = deploymentAdmin;
 
 	/*first poll send framework started audit event, note this will register the target in Apache
ACE*/



Mime
View raw message