Skip to content

Commit 8a08a9b

Browse files
author
Rajmund Szymanski
committed
updated objects definitions
1 parent a2e0070 commit 8a08a9b

File tree

14 files changed

+31
-28
lines changed

14 files changed

+31
-28
lines changed

IntrOS/interface/inc/os_bar.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ struct __bar
8181

8282
#define OS_BAR( bar, limit ) \
8383
bar_t bar##__bar = _BAR_INIT( limit ); \
84-
bar_t * const bar = & bar##__bar
84+
bar_id bar = & bar##__bar
8585

8686
/**********************************************************************************************************************
8787
* *
@@ -97,7 +97,7 @@ struct __bar
9797

9898
#define static_BAR( bar, limit ) \
9999
static bar_t bar##__bar = _BAR_INIT( limit ); \
100-
static bar_t * const bar = & bar##__bar
100+
static bar_id bar = & bar##__bar
101101

102102
/**********************************************************************************************************************
103103
* *

IntrOS/interface/inc/os_box.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ struct __box
109109
#define OS_BOX( box, limit, size ) \
110110
char box##__buf[limit*size]; \
111111
box_t box##__box = _BOX_INIT( limit, size, box##__buf ); \
112-
box_t * const box = & box##__box
112+
box_id box = & box##__box
113113

114114
/**********************************************************************************************************************
115115
* *
@@ -127,7 +127,7 @@ struct __box
127127
#define static_BOX( box, limit, size ) \
128128
static char box##__buf[limit*size]; \
129129
static box_t box##__box = _BOX_INIT( limit, size, box##__buf ); \
130-
static box_t * const box = & box##__box
130+
static box_id box = & box##__box
131131

132132
/**********************************************************************************************************************
133133
* *

IntrOS/interface/inc/os_cnd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct __cnd
7777

7878
#define OS_CND( cnd ) \
7979
cnd_t cnd##__cnd = _CND_INIT(); \
80-
cnd_t * const cnd = & cnd##__cnd
80+
cnd_id cnd = & cnd##__cnd
8181

8282
/**********************************************************************************************************************
8383
* *
@@ -92,7 +92,7 @@ struct __cnd
9292

9393
#define static_CND( cnd ) \
9494
static cnd_t cnd##__cnd = _CND_INIT(); \
95-
static cnd_t * const cnd = & cnd##__cnd
95+
static cnd_id cnd = & cnd##__cnd
9696

9797
/**********************************************************************************************************************
9898
* *

IntrOS/interface/inc/os_evt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct __evt
7878

7979
#define OS_EVT( evt ) \
8080
evt_t evt##__evt = _EVT_INIT(); \
81-
evt_t * const evt = & evt##__evt
81+
evt_id evt = & evt##__evt
8282

8383
/**********************************************************************************************************************
8484
* *
@@ -93,7 +93,7 @@ struct __evt
9393

9494
#define static_EVT( evt ) \
9595
static evt_t evt##__evt = _EVT_INIT(); \
96-
static evt_t * const evt = & evt##__evt
96+
static evt_id evt = & evt##__evt
9797

9898
/**********************************************************************************************************************
9999
* *

IntrOS/interface/inc/os_flg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct __flg
8282

8383
#define OS_FLG( flg ) \
8484
flg_t flg##__flg = _FLG_INIT(); \
85-
flg_t * const flg = & flg##__flg
85+
flg_id flg = & flg##__flg
8686

8787
/**********************************************************************************************************************
8888
* *
@@ -97,7 +97,7 @@ struct __flg
9797

9898
#define static_FLG( flg ) \
9999
static flg_t flg##__flg = _FLG_INIT(); \
100-
static flg_t * const flg = & flg##__flg
100+
static flg_id flg = & flg##__flg
101101

102102
/**********************************************************************************************************************
103103
* *

IntrOS/interface/inc/os_lst.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct __lst
7777

7878
#define OS_LST( lst ) \
7979
lst_t lst##__lst = _LST_INIT(); \
80-
lst_t * const lst = & lst##__lst
80+
lst_id lst = & lst##__lst
8181

8282
/**********************************************************************************************************************
8383
* *
@@ -92,7 +92,7 @@ struct __lst
9292

9393
#define static_LST( lst ) \
9494
static lst_t lst##__lst = _LST_INIT(); \
95-
static lst * const lst = & lst##__lst
95+
static lst_id lst = & lst##__lst
9696

9797
/**********************************************************************************************************************
9898
* *

IntrOS/interface/inc/os_mem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ struct __mem
110110
#define OS_MEM( mem, limit, size ) \
111111
void*mem##__buf[limit*(1+MSIZE(size))]; \
112112
mem_t mem##__mem = _MEM_INIT( limit, size, mem##__buf ); \
113-
mem_t * const mem = & mem##__mem
113+
mem_id mem = & mem##__mem
114114

115115
/**********************************************************************************************************************
116116
* *
@@ -128,7 +128,7 @@ struct __mem
128128
#define static_MEM( mem, limit, size ) \
129129
static void*mem##__buf[limit*(1+MSIZE(size))]; \
130130
static mem_t mem##__mem = _MEM_INIT( limit, size, mem##__buf ); \
131-
static mem_t * const mem = & mem##__mem
131+
static mem_id mem = & mem##__mem
132132

133133
/**********************************************************************************************************************
134134
* *

IntrOS/interface/inc/os_msg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct __msg
105105
#define OS_MSG( msg, limit ) \
106106
unsigned msg##__buf[limit]; \
107107
msg_t msg##__msg = _MSG_INIT( limit, msg##__buf ); \
108-
msg_t * const msg = & msg##__msg
108+
msg_id msg = & msg##__msg
109109

110110
/**********************************************************************************************************************
111111
* *
@@ -122,7 +122,7 @@ struct __msg
122122
#define static_MSG( msg, limit ) \
123123
static unsigned msg##__buf[limit]; \
124124
static msg_t msg##__msg = _MSG_INIT( limit, msg##__buf ); \
125-
static msg_t * const msg = & msg##__msg
125+
static msg_id msg = & msg##__msg
126126

127127
/**********************************************************************************************************************
128128
* *

IntrOS/interface/inc/os_mtx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct __mtx
7777

7878
#define OS_MTX( mtx ) \
7979
mtx_t mtx##__mtx = _MTX_INIT(); \
80-
mtx_t * const mtx = & mtx##__mtx
80+
mtx_id mtx = & mtx##__mtx
8181

8282
/**********************************************************************************************************************
8383
* *
@@ -92,7 +92,7 @@ struct __mtx
9292

9393
#define static_MTX( mtx ) \
9494
static mtx_t mtx##__mtx = _MTX_INIT(); \
95-
static mtx_t * const mtx = & mtx##__mtx
95+
static mtx_id mtx = & mtx##__mtx
9696

9797
/**********************************************************************************************************************
9898
* *

IntrOS/interface/inc/os_sem.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct __sem
7979

8080
#define OS_SEM( sem, init ) \
8181
sem_t sem##__sem = _SEM_INIT( init ); \
82-
sem_t * const sem = & sem##__sem
82+
sem_id sem = & sem##__sem
8383

8484
/**********************************************************************************************************************
8585
* *
@@ -95,7 +95,7 @@ struct __sem
9595

9696
#define static_SEM( sem, init ) \
9797
static sem_t sem##__sem = _SEM_INIT( init ); \
98-
static sem_t * const sem = & sem##__sem
98+
static sem_id sem = & sem##__sem
9999

100100
/**********************************************************************************************************************
101101
* *

0 commit comments

Comments
 (0)