move src\kservice.h to include\rtservice.h.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2005 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
f71efa4281
commit
0f519b6721
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* File : kservice.h
|
||||
* File : rtservice.h
|
||||
* This file is part of RT-Thread RTOS
|
||||
* COPYRIGHT (C) 2006 - 2012, RT-Thread Development Team
|
||||
*
|
||||
|
@ -12,13 +12,9 @@
|
|||
* 2006-03-16 Bernard the first version
|
||||
* 2006-09-07 Bernard move the kservice APIs to rtthread.h
|
||||
* 2007-06-27 Bernard fix the rt_list_remove bug
|
||||
* 2012-03-22 Bernard rename kservice.h to rtservice.h
|
||||
*/
|
||||
|
||||
#ifndef __RT_SERVICE_H__
|
||||
#define __RT_SERVICE_H__
|
||||
|
||||
#include <rtthread.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -104,5 +100,3 @@ rt_inline int rt_list_isempty(const rt_list_t *l)
|
|||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include <rtdef.h>
|
||||
#include <rtdebug.h>
|
||||
#include <rtservice.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
#include "kservice.h"
|
||||
|
||||
#ifdef RT_USING_DEVICE
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include <rthw.h>
|
||||
#include <rtthread.h>
|
||||
#include "kservice.h"
|
||||
|
||||
#ifndef IDLE_THREAD_STACK_SIZE
|
||||
#if defined (RT_USING_HOOK) || defined(RT_USING_HEAP)
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
|
||||
#include "kservice.h"
|
||||
|
||||
#ifdef RT_USING_HOOK
|
||||
extern void (*rt_object_trytake_hook)(struct rt_object *object);
|
||||
extern void (*rt_object_take_hook)(struct rt_object *object);
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include <rthw.h>
|
||||
#include <rtthread.h>
|
||||
|
||||
#include "kservice.h"
|
||||
|
||||
#ifdef RT_USING_MEMPOOL
|
||||
|
||||
#ifdef RT_USING_HOOK
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <rtm.h>
|
||||
|
||||
#include "string.h"
|
||||
#include "kservice.h"
|
||||
|
||||
#ifdef RT_USING_MODULE
|
||||
#include "module.h"
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
|
||||
#include "kservice.h"
|
||||
|
||||
#define _OBJ_CONTAINER_LIST_INIT(c) \
|
||||
{&(rt_object_container[c].object_list), &(rt_object_container[c].object_list)}
|
||||
struct rt_object_information rt_object_container[RT_Object_Class_Unknown] =
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
|
||||
#include "kservice.h"
|
||||
|
||||
static rt_int16_t rt_scheduler_lock_nest;
|
||||
extern volatile rt_uint8_t rt_interrupt_nest;
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
|
||||
#include <rthw.h>
|
||||
#include <rtthread.h>
|
||||
#include "kservice.h"
|
||||
|
||||
#define RT_MEM_STATS
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
#include "kservice.h"
|
||||
|
||||
extern rt_list_t rt_thread_priority_table[RT_THREAD_PRIORITY_MAX];
|
||||
extern struct rt_thread *rt_current_thread;
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
|
||||
#include "kservice.h"
|
||||
|
||||
/* hard timer list */
|
||||
static rt_list_t rt_timer_list;
|
||||
|
||||
|
|
Loading…
Reference in New Issue