celix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferry Huberts <maili...@hupie.com>
Subject [RFC] [PATCH v1 4/9] fix compiler warning about implicit declaration
Date Fri, 13 Jul 2012 21:35:47 GMT
From: Ferry Huberts <ferry.huberts@pelagic.nl>

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
---
 deployment_admin/private/include/miniunz.h      |   15 +++++++++++++++
 deployment_admin/private/src/deployment_admin.c |    1 +
 deployment_admin/private/src/miniunz.c          |    2 ++
 3 files changed, 18 insertions(+)
 create mode 100644 deployment_admin/private/include/miniunz.h

diff --git a/deployment_admin/private/include/miniunz.h b/deployment_admin/private/include/miniunz.h
new file mode 100644
index 0000000..9f92fb5
--- /dev/null
+++ b/deployment_admin/private/include/miniunz.h
@@ -0,0 +1,15 @@
+/*
+ * log.h
+ *
+ *  Created on: Jul 13, 2012
+ *      Author: Ferry Huberts
+ */
+
+#ifndef MINIUNZ_H_
+#define MINIUNZ_H_
+
+#include "celix_errno.h"
+
+celix_status_t extractBundle(char * bundleName, char * revisionRoot);
+
+#endif /* MINIUNZ_H_ */
diff --git a/deployment_admin/private/src/deployment_admin.c b/deployment_admin/private/src/deployment_admin.c
index 5955247..5065b5f 100644
--- a/deployment_admin/private/src/deployment_admin.c
+++ b/deployment_admin/private/src/deployment_admin.c
@@ -19,6 +19,7 @@
 #include "deployment_package.h"
 #include "bundle.h"
 #include "utils.h"
+#include "miniunz.h"
 
 #include "log.h"
 #include "log_store.h"
diff --git a/deployment_admin/private/src/miniunz.c b/deployment_admin/private/src/miniunz.c
index c3980f0..94c1483 100644
--- a/deployment_admin/private/src/miniunz.c
+++ b/deployment_admin/private/src/miniunz.c
@@ -27,6 +27,8 @@
         #endif
 #endif
 
+#include "miniunz.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-- 
1.7.10.4


Mime
View raw message