4.104.115
Last change
on this file since ba3e987e was
6b8fe00,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/01/09 at 15:13:07
|
Add attribute((unused)) to unused function args.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * COPYRIGHT (c) 1989-2007. |
---|
3 | * On-Line Applications Research Corporation (OAR). |
---|
4 | * |
---|
5 | * The license and distribution terms for this file may be |
---|
6 | * found in the file LICENSE in this distribution or at |
---|
7 | * http://www.rtems.com/license/LICENSE. |
---|
8 | * |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #if HAVE_CONFIG_H |
---|
13 | #include "config.h" |
---|
14 | #endif |
---|
15 | |
---|
16 | #include <rtems/itron.h> |
---|
17 | |
---|
18 | #include <rtems/score/thread.h> |
---|
19 | #include <rtems/score/userext.h> |
---|
20 | #include <rtems/score/wkspace.h> |
---|
21 | #include <rtems/score/apiext.h> |
---|
22 | #include <rtems/score/sysstate.h> |
---|
23 | |
---|
24 | #include <rtems/itron/task.h> |
---|
25 | |
---|
26 | /* |
---|
27 | * can_wup - Cancel Wakeup Request |
---|
28 | */ |
---|
29 | |
---|
30 | ER can_wup( |
---|
31 | INT *p_wupcnt __attribute__((unused)), |
---|
32 | ID tskid |
---|
33 | ) |
---|
34 | { |
---|
35 | register Thread_Control *the_thread; |
---|
36 | Objects_Locations location; |
---|
37 | |
---|
38 | the_thread = _ITRON_Task_Get( tskid, &location ); |
---|
39 | switch ( location ) { |
---|
40 | #if defined(RTEMS_MULTIPROCESSING) |
---|
41 | case OBJECTS_REMOTE: |
---|
42 | #endif |
---|
43 | case OBJECTS_ERROR: |
---|
44 | return _ITRON_Task_Clarify_get_id_error( tskid ); |
---|
45 | |
---|
46 | case OBJECTS_LOCAL: |
---|
47 | /* |
---|
48 | * XXX - FILL ME IN. |
---|
49 | */ |
---|
50 | break; |
---|
51 | } |
---|
52 | |
---|
53 | _ITRON_return_errorno( E_OK ); |
---|
54 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.