summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-10-13 03:26:25 +0000
committer[email protected] <[email protected]>2012-10-13 03:26:25 +0000
commit7c7fa51f97fd1eb357cb45d96e2199a7f62546a5 (patch)
tree53a0bfb6d9aa82f1f9b0bdab7c409eb15651d2ff
parent6bf06f759576daee82d402133062af5520f526c1 (diff)
add __RT_SERVICE_H__ definition
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2347 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--include/rtservice.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rtservice.h b/include/rtservice.h
index 31adc54a73..26ee8e0a8a 100644
--- a/include/rtservice.h
+++ b/include/rtservice.h
@@ -15,6 +15,9 @@
* 2012-03-22 Bernard rename kservice.h to rtservice.h
*/
+#ifndef __RT_SERVICE_H__
+#define __RT_SERVICE_H__
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -105,3 +108,5 @@ rt_inline int rt_list_isempty(const rt_list_t *l)
#ifdef __cplusplus
}
#endif
+
+#endif