Changeset f97536d in rtems
- Timestamp:
- 10/16/15 06:21:48 (7 years ago)
- Branches:
- 5, master
- Children:
- bc792bb
- Parents:
- c52568d
- git-author:
- Sebastian Huber <sebastian.huber@…> (10/16/15 06:21:48)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (10/26/15 08:13:19)
- Files:
-
- 127 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c
rc52568d rf97536d 1128 1128 static int lpc_eth_mdio_read( 1129 1129 int phy, 1130 void *arg __attribute__((unused)),1130 void *arg RTEMS_UNUSED, 1131 1131 unsigned reg, 1132 1132 uint32_t *val … … 1153 1153 static int lpc_eth_mdio_write( 1154 1154 int phy, 1155 void *arg __attribute__((unused)),1155 void *arg RTEMS_UNUSED, 1156 1156 unsigned reg, 1157 1157 uint32_t val … … 1812 1812 1813 1813 static int lpc_eth_detach( 1814 struct rtems_bsdnet_ifconfig *config __attribute__((unused))1814 struct rtems_bsdnet_ifconfig *config RTEMS_UNUSED 1815 1815 ) 1816 1816 { -
c/src/lib/libbsp/i386/pc386/console/fb_cirrus.c
rc52568d rf97536d 278 278 unsigned int val) 279 279 { 280 volatile unsigned int dummy __attribute__((unused));280 volatile unsigned int dummy RTEMS_UNUSED; 281 281 dummy = fb_cirrus_read_reg8(fbst, VGA_DAC_MASK); 282 282 dummy = fb_cirrus_read_reg8(fbst, VGA_DAC_MASK); -
c/src/lib/libbsp/i386/shared/comm/uart.c
rc52568d rf97536d 803 803 804 804 /* ================= GDB support ===================*/ 805 int BSP_uart_dbgisr_com_regsav[4] __attribute__ ((unused));805 int BSP_uart_dbgisr_com_regsav[4] RTEMS_UNUSED; 806 806 807 807 /* -
c/src/lib/libbsp/powerpc/beatnik/network/if_em/if_em.c
rc52568d rf97536d 762 762 em_start(struct ifnet *ifp) 763 763 { 764 struct adapter *adapter __attribute__((unused))= ifp->if_softc;764 struct adapter *adapter RTEMS_UNUSED = ifp->if_softc; 765 765 766 766 EM_LOCK(adapter); -
c/src/lib/libbsp/powerpc/virtex4/startup/bspstart.c
rc52568d rf97536d 138 138 void BSP_panic(char *s) 139 139 { 140 __attribute__((unused))rtems_interrupt_level level;140 RTEMS_UNUSED rtems_interrupt_level level; 141 141 142 142 rtems_interrupt_disable(level); … … 150 150 void _BSP_Fatal_error(unsigned int v) 151 151 { 152 __attribute__((unused))rtems_interrupt_level level;152 RTEMS_UNUSED rtems_interrupt_level level; 153 153 154 154 rtems_interrupt_disable(level); -
c/src/lib/libbsp/powerpc/virtex5/startup/bspstart.c
rc52568d rf97536d 152 152 void BSP_panic(char *s) 153 153 { 154 __attribute__((unused))rtems_interrupt_level level;154 RTEMS_UNUSED rtems_interrupt_level level; 155 155 156 156 rtems_interrupt_disable(level); … … 164 164 void _BSP_Fatal_error(unsigned int v) 165 165 { 166 __attribute__((unused))rtems_interrupt_level level;166 RTEMS_UNUSED rtems_interrupt_level level; 167 167 168 168 rtems_interrupt_disable(level); -
c/src/lib/libbsp/sparc/shared/can/grcan.c
rc52568d rf97536d 435 435 * and we need to tell GCC not to complain. 436 436 */ 437 unsigned int tmp RTEMS_ COMPILER_UNUSED_ATTRIBUTE;437 unsigned int tmp RTEMS_UNUSED; 438 438 439 439 IRQ_GLOBAL_PREPARE(oldLevel); -
cpukit/ftpd/ftpd.c
rc52568d rf97536d 1991 1991 */ 1992 1992 static void 1993 daemon(rtems_task_argument args __attribute__((unused)))1993 daemon(rtems_task_argument args RTEMS_UNUSED) 1994 1994 { 1995 1995 int s; -
cpukit/libblock/src/bdpart-mount.c
rc52568d rf97536d 33 33 rtems_status_code rtems_bdpart_mount( 34 34 const char *disk_name, 35 const rtems_bdpart_partition *pt __attribute__((unused)),35 const rtems_bdpart_partition *pt RTEMS_UNUSED, 36 36 size_t count, 37 37 const char *mount_base … … 119 119 rtems_status_code rtems_bdpart_unmount( 120 120 const char *disk_name, 121 const rtems_bdpart_partition *pt __attribute__((unused)),121 const rtems_bdpart_partition *pt RTEMS_UNUSED, 122 122 size_t count, 123 123 const char *mount_base -
cpukit/libblock/src/bdpart-register.c
rc52568d rf97536d 143 143 rtems_status_code rtems_bdpart_unregister( 144 144 const char *disk_name, 145 const rtems_bdpart_partition *pt __attribute__((unused)),145 const rtems_bdpart_partition *pt RTEMS_UNUSED, 146 146 size_t count 147 147 ) -
cpukit/libblock/src/blkdev.c
rc52568d rf97536d 31 31 rtems_device_driver 32 32 rtems_blkdev_generic_read( 33 rtems_device_major_number major __attribute__((unused)),34 rtems_device_minor_number minor __attribute__((unused)),33 rtems_device_major_number major RTEMS_UNUSED, 34 rtems_device_minor_number minor RTEMS_UNUSED, 35 35 void * arg) 36 36 { … … 78 78 rtems_device_driver 79 79 rtems_blkdev_generic_write( 80 rtems_device_major_number major __attribute__((unused)),81 rtems_device_minor_number minor __attribute__((unused)),80 rtems_device_major_number major RTEMS_UNUSED, 81 rtems_device_minor_number minor RTEMS_UNUSED, 82 82 void * arg) 83 83 { … … 153 153 rtems_device_driver 154 154 rtems_blkdev_generic_close( 155 rtems_device_major_number major __attribute__((unused)),156 rtems_device_minor_number minor __attribute__((unused)),155 rtems_device_major_number major RTEMS_UNUSED, 156 rtems_device_minor_number minor RTEMS_UNUSED, 157 157 void * arg) 158 158 { … … 171 171 rtems_device_driver 172 172 rtems_blkdev_generic_ioctl( 173 rtems_device_major_number major __attribute__((unused)),174 rtems_device_minor_number minor __attribute__((unused)),173 rtems_device_major_number major RTEMS_UNUSED, 174 rtems_device_minor_number minor RTEMS_UNUSED, 175 175 void * arg) 176 176 { -
cpukit/libblock/src/flashdisk.c
rc52568d rf97536d 2464 2464 rtems_fdisk_initialize (rtems_device_major_number major, 2465 2465 rtems_device_minor_number minor, 2466 void* arg __attribute__((unused)))2466 void* arg RTEMS_UNUSED) 2467 2467 { 2468 2468 const rtems_flashdisk_config* c = rtems_flashdisk_configuration; -
cpukit/libblock/src/media-server.c
rc52568d rf97536d 43 43 static rtems_id server_id = RTEMS_ID_NONE; 44 44 45 static void media_server(rtems_task_argument arg __attribute__((unused)))45 static void media_server(rtems_task_argument arg RTEMS_UNUSED) 46 46 { 47 47 rtems_status_code sc = RTEMS_SUCCESSFUL; -
cpukit/libblock/src/media.c
rc52568d rf97536d 647 647 rtems_media_state state, 648 648 const char *src, 649 char **dest __attribute__((unused)),649 char **dest RTEMS_UNUSED, 650 650 void *worker_arg 651 651 ) … … 750 750 rtems_media_state state, 751 751 const char *src, 752 char **dest __attribute__((unused)),753 void *worker_arg __attribute__((unused))752 char **dest RTEMS_UNUSED, 753 void *worker_arg RTEMS_UNUSED 754 754 ) 755 755 { … … 796 796 rtems_media_state state, 797 797 const char *src, 798 char **dest __attribute__((unused)),799 void *worker_arg __attribute__((unused))798 char **dest RTEMS_UNUSED, 799 void *worker_arg RTEMS_UNUSED 800 800 ) 801 801 { -
cpukit/libblock/src/nvdisk-sram.c
rc52568d rf97536d 29 29 30 30 static int 31 rtems_nvdisk_sram_read (uint32_t device __attribute__((unused)),32 uint32_t flags __attribute__((unused)),31 rtems_nvdisk_sram_read (uint32_t device RTEMS_UNUSED, 32 uint32_t flags RTEMS_UNUSED, 33 33 void* base, 34 34 uint32_t offset, … … 41 41 42 42 static int 43 rtems_nvdisk_sram_write (uint32_t device __attribute__((unused)),44 uint32_t flags __attribute__((unused)),43 rtems_nvdisk_sram_write (uint32_t device RTEMS_UNUSED, 44 uint32_t flags RTEMS_UNUSED, 45 45 void* base, 46 46 uint32_t offset, … … 53 53 54 54 static int 55 rtems_nvdisk_sram_verify (uint32_t device __attribute__((unused)),56 uint32_t flags __attribute__((unused)),55 rtems_nvdisk_sram_verify (uint32_t device RTEMS_UNUSED, 56 uint32_t flags RTEMS_UNUSED, 57 57 void* base, 58 58 uint32_t offset, -
cpukit/libblock/src/nvdisk.c
rc52568d rf97536d 765 765 rtems_nvdisk_initialize (rtems_device_major_number major, 766 766 rtems_device_minor_number minor, 767 void* arg __attribute__((unused)))767 void* arg RTEMS_UNUSED) 768 768 { 769 769 const rtems_nvdisk_config* c = rtems_nvdisk_configuration; -
cpukit/libblock/src/ramdisk-config.c
rc52568d rf97536d 25 25 ramdisk_initialize( 26 26 rtems_device_major_number major, 27 rtems_device_minor_number minor __attribute__((unused)),28 void *arg __attribute__((unused)))27 rtems_device_minor_number minor RTEMS_UNUSED, 28 void *arg RTEMS_UNUSED) 29 29 { 30 30 rtems_device_minor_number i; -
cpukit/libcsupport/src/__gettod.c
rc52568d rf97536d 40 40 int gettimeofday( 41 41 struct timeval *__restrict tp, 42 void *__restrict __tz __attribute__((unused))42 void *__restrict __tz RTEMS_UNUSED 43 43 ) 44 44 { … … 71 71 */ 72 72 int _gettimeofday_r( 73 struct _reent *ignored_reentrancy_stuff __attribute__((unused)),73 struct _reent *ignored_reentrancy_stuff RTEMS_UNUSED, 74 74 struct timeval *tp, 75 75 void *__tz -
cpukit/libcsupport/src/__times.c
rc52568d rf97536d 116 116 */ 117 117 clock_t _times_r( 118 struct _reent *ptr __attribute__((unused)),118 struct _reent *ptr RTEMS_UNUSED, 119 119 struct tms *ptms 120 120 ) -
cpukit/libcsupport/src/_calloc_r.c
rc52568d rf97536d 24 24 25 25 void *_calloc_r( 26 struct _reent *ignored __attribute__((unused)),26 struct _reent *ignored, 27 27 size_t elements, 28 28 size_t size 29 29 ) 30 30 { 31 (void) ignored; 31 32 return calloc( elements, size ); 32 33 } -
cpukit/libcsupport/src/_free_r.c
rc52568d rf97536d 24 24 25 25 void _free_r( 26 struct _reent *ignored __attribute__((unused)),26 struct _reent *ignored, 27 27 void *ptr 28 28 ) 29 29 { 30 (void) ignored; 30 31 free( ptr ); 31 32 } -
cpukit/libcsupport/src/_malloc_r.c
rc52568d rf97536d 19 19 20 20 void *_malloc_r( 21 struct _reent *ignored __attribute__((unused)),21 struct _reent *ignored, 22 22 size_t size 23 23 ) 24 24 { 25 (void) ignored; 25 26 return malloc( size ); 26 27 } -
cpukit/libcsupport/src/_realloc_r.c
rc52568d rf97536d 24 24 25 25 void *_realloc_r( 26 struct _reent *ignored __attribute__((unused)),26 struct _reent *ignored, 27 27 void *ptr, 28 28 size_t size 29 29 ) 30 30 { 31 (void) ignored; 31 32 return realloc( ptr, size ); 32 33 } -
cpukit/libcsupport/src/_rename_r.c
rc52568d rf97536d 32 32 */ 33 33 int _rename_r( 34 struct _reent *ptr __attribute__((unused)),34 struct _reent *ptr RTEMS_UNUSED, 35 35 const char *old, 36 36 const char *new -
cpukit/libcsupport/src/assocnamebad.c
rc52568d rf97536d 23 23 uint32_t bad_value 24 24 #else 25 uint32_t bad_value __attribute((unused))25 uint32_t bad_value RTEMS_UNUSED 26 26 #endif 27 27 ) -
cpukit/libcsupport/src/close.c
rc52568d rf97536d 52 52 53 53 int _close_r( 54 struct _reent *ptr __attribute__((unused)),54 struct _reent *ptr RTEMS_UNUSED, 55 55 int fd 56 56 ) -
cpukit/libcsupport/src/envlock.c
rc52568d rf97536d 106 106 107 107 void 108 __env_lock(struct _reent *r __attribute__((unused)))108 __env_lock(struct _reent *r RTEMS_UNUSED) 109 109 { 110 110 rtems_libio_lock(); … … 112 112 113 113 void 114 __env_unlock(struct _reent *r __attribute__((unused)))114 __env_unlock(struct _reent *r RTEMS_UNUSED) 115 115 { 116 116 rtems_libio_unlock(); -
cpukit/libcsupport/src/fcntl.c
rc52568d rf97536d 240 240 241 241 int _fcntl_r( 242 struct _reent *ptr __attribute__((unused)),242 struct _reent *ptr RTEMS_UNUSED, 243 243 int fd, 244 244 int cmd, -
cpukit/libcsupport/src/flockfile.c
rc52568d rf97536d 24 24 * This is a non-functional stub 25 25 */ 26 void flockfile(FILE* file __attribute__((unused)))26 void flockfile(FILE* file) 27 27 { 28 (void) file; 28 29 } 29 30 -
cpukit/libcsupport/src/fstat.c
rc52568d rf97536d 61 61 62 62 int _fstat_r( 63 struct _reent *ptr __attribute__((unused)),63 struct _reent *ptr RTEMS_UNUSED, 64 64 int fd, 65 65 struct stat *buf -
cpukit/libcsupport/src/ftrylockfile.c
rc52568d rf97536d 18 18 19 19 /* This is a non-functional stub */ 20 int ftrylockfile(FILE* file __attribute__((unused)))20 int ftrylockfile(FILE* file) 21 21 { 22 (void) file; 22 23 rtems_set_errno_and_return_minus_one( ENOTSUP ); 23 24 } -
cpukit/libcsupport/src/funlockfile.c
rc52568d rf97536d 25 25 * This is a non-functional stub 26 26 */ 27 void funlockfile(FILE* file __attribute__((unused)))27 void funlockfile(FILE* file) 28 28 { 29 (void) file; 29 30 } 30 31 -
cpukit/libcsupport/src/getpid.c
rc52568d rf97536d 31 31 */ 32 32 pid_t _getpid_r( 33 struct _reent *ptr __attribute__((unused))33 struct _reent *ptr RTEMS_UNUSED 34 34 ) 35 35 { -
cpukit/libcsupport/src/isatty_r.c
rc52568d rf97536d 29 29 30 30 int _isatty_r( 31 struct _reent *ptr __attribute__((unused)),31 struct _reent *ptr, 32 32 int fd 33 33 ) 34 34 { 35 (void) ptr; 35 36 return isatty( fd ); 36 37 } -
cpukit/libcsupport/src/link.c
rc52568d rf97536d 67 67 */ 68 68 int _link_r( 69 struct _reent *ptr __attribute__((unused)),69 struct _reent *ptr RTEMS_UNUSED, 70 70 const char *path1, 71 71 const char *path2 -
cpukit/libcsupport/src/lseek.c
rc52568d rf97536d 40 40 41 41 off_t _lseek_r( 42 struct _reent *ptr __attribute__((unused)),42 struct _reent *ptr RTEMS_UNUSED, 43 43 int fd, 44 44 off_t offset, -
cpukit/libcsupport/src/newlibc_reent.c
rc52568d rf97536d 32 32 33 33 bool newlib_create_hook( 34 rtems_tcb *current_task __attribute__((unused)),34 rtems_tcb *current_task RTEMS_UNUSED, 35 35 rtems_tcb *creating_task 36 36 ) -
cpukit/libcsupport/src/open.c
rc52568d rf97536d 162 162 */ 163 163 int _open_r( 164 struct _reent *ptr __attribute__((unused)),164 struct _reent *ptr RTEMS_UNUSED, 165 165 const char *buf, 166 166 int oflag, -
cpukit/libcsupport/src/printk_plugin.c
rc52568d rf97536d 23 23 24 24 int printk_plugin( 25 void *ignored __attribute__((unused)),25 void *ignored, 26 26 const char *format, 27 27 ... … … 29 29 { 30 30 va_list arg_pointer; 31 32 (void) ignored; 31 33 32 34 va_start (arg_pointer, format); -
cpukit/libcsupport/src/read.c
rc52568d rf97536d 54 54 */ 55 55 ssize_t _read_r( 56 struct _reent *ptr __attribute__((unused)),56 struct _reent *ptr RTEMS_UNUSED, 57 57 int fd, 58 58 void *buf, -
cpukit/libcsupport/src/rtems_heap_null_extend.c
rc52568d rf97536d 20 20 21 21 void *rtems_heap_null_extend( 22 Heap_Control *heap __attribute__((unused)),23 size_t alloc_size __attribute__((unused))22 Heap_Control *heap RTEMS_UNUSED, 23 size_t alloc_size RTEMS_UNUSED 24 24 ) 25 25 { -
cpukit/libcsupport/src/setpgid.c
rc52568d rf97536d 18 18 */ 19 19 int setpgid( 20 pid_t pid __attribute__((unused)),21 pid_t pgid __attribute__((unused))20 pid_t pid, 21 pid_t pgid 22 22 ) 23 23 { 24 (void) pid; 25 (void) pgid; 24 26 rtems_set_errno_and_return_minus_one( ENOSYS ); 25 27 } -
cpukit/libcsupport/src/stat.c
rc52568d rf97536d 70 70 */ 71 71 int _STAT_R_NAME( 72 struct _reent *ptr __attribute__((unused)),72 struct _reent *ptr RTEMS_UNUSED, 73 73 const char *path, 74 74 struct stat *buf … … 79 79 */ 80 80 int _STAT_R_NAME( 81 struct _reent *ptr __attribute__((unused)),81 struct _reent *ptr RTEMS_UNUSED, 82 82 const char *path, 83 83 struct stat *buf -
cpukit/libcsupport/src/tcflow.c
rc52568d rf97536d 26 26 27 27 int tcflow ( 28 int fd __attribute__((unused)),28 int fd, 29 29 int action 30 30 ) 31 31 { 32 (void) fd; 33 32 34 switch (action) { 33 35 case TCOOFF: -
cpukit/libcsupport/src/tcgetpgrp.c
rc52568d rf97536d 27 27 * POSIX 1003.1b 7.2.3 - Get Foreground Process Group ID 28 28 */ 29 pid_t tcgetpgrp(int fd __attribute__((unused)))29 pid_t tcgetpgrp(int fd) 30 30 { 31 (void) fd; 31 32 return getpid(); 32 33 } -
cpukit/libcsupport/src/tcsendbreak.c
rc52568d rf97536d 31 31 32 32 int tcsendbreak ( 33 int fd __attribute__((unused)),34 int duration __attribute__((unused)))33 int fd RTEMS_UNUSED, 34 int duration RTEMS_UNUSED ) 35 35 { 36 36 return 0; -
cpukit/libcsupport/src/tcsetpgrp.c
rc52568d rf97536d 34 34 */ 35 35 int tcsetpgrp( 36 int fd __attribute__((unused)),37 pid_t pid __attribute__((unused)))36 int fd RTEMS_UNUSED, 37 pid_t pid RTEMS_UNUSED ) 38 38 { 39 39 return 0; -
cpukit/libcsupport/src/unlink.c
rc52568d rf97536d 66 66 */ 67 67 int _unlink_r( 68 struct _reent *ptr __attribute__((unused)),68 struct _reent *ptr RTEMS_UNUSED, 69 69 const char *path 70 70 ) -
cpukit/libcsupport/src/write_r.c
rc52568d rf97536d 33 33 34 34 _ssize_t _write_r( 35 struct _reent *ptr __attribute__((unused)),35 struct _reent *ptr RTEMS_UNUSED, 36 36 int fd, 37 37 const void *buf, -
cpukit/libfs/src/nfsclient/src/dirutils.c
rc52568d rf97536d 366 366 367 367 #ifdef HAVE_CEXP 368 static CexpHelpTabRec _cexpHelpTabDirutils[] __attribute__((unused))= {368 static CexpHelpTabRec _cexpHelpTabDirutils[] RTEMS_UNUSED = { 369 369 HELP( 370 370 "copy a file: cp(""from"",[""to""[,""-f""]])\n\ -
cpukit/libmisc/capture/capture-cli.c
rc52568d rf97536d 38 38 #include <rtems/cpuuse.h> 39 39 # 40 #define RC_UNUSED __attribute__((unused))40 #define RC_UNUSED RTEMS_UNUSED 41 41 42 42 #define RTEMS_CAPTURE_CLI_MAX_LOAD_TASKS (20) -
cpukit/libmisc/capture/capture.c
rc52568d rf97536d 564 564 */ 565 565 rtems_status_code 566 rtems_capture_open (uint32_t size, rtems_capture_timestamp timestamp __attribute__((unused)))566 rtems_capture_open (uint32_t size, rtems_capture_timestamp timestamp RTEMS_UNUSED) 567 567 { 568 568 rtems_status_code sc = RTEMS_SUCCESSFUL; -
cpukit/libmisc/devnull/devnull.c
rc52568d rf97536d 45 45 rtems_device_driver null_initialize( 46 46 rtems_device_major_number major, 47 rtems_device_minor_number minor __attribute__((unused)),48 void *pargp __attribute__((unused))47 rtems_device_minor_number minor RTEMS_UNUSED, 48 void *pargp RTEMS_UNUSED 49 49 ) 50 50 { … … 83 83 84 84 rtems_device_driver null_open( 85 rtems_device_major_number major __attribute__((unused)),86 rtems_device_minor_number minor __attribute__((unused)),87 void *pargp __attribute__((unused))85 rtems_device_major_number major RTEMS_UNUSED, 86 rtems_device_minor_number minor RTEMS_UNUSED, 87 void *pargp RTEMS_UNUSED 88 88 ) 89 89 { … … 106 106 107 107 rtems_device_driver null_close( 108 rtems_device_major_number major __attribute__((unused)),109 rtems_device_minor_number minor __attribute__((unused)),110 void *pargp __attribute__((unused))108 rtems_device_major_number major RTEMS_UNUSED, 109 rtems_device_minor_number minor RTEMS_UNUSED, 110 void *pargp RTEMS_UNUSED 111 111 ) 112 112 { … … 129 129 130 130 rtems_device_driver null_read( 131 rtems_device_major_number major __attribute__((unused)),132 rtems_device_minor_number minor __attribute__((unused)),133 void *pargp __attribute__((unused))131 rtems_device_major_number major RTEMS_UNUSED, 132 rtems_device_minor_number minor RTEMS_UNUSED, 133 void *pargp RTEMS_UNUSED 134 134 ) 135 135 { … … 152 152 153 153 rtems_device_driver null_write( 154 rtems_device_major_number major __attribute__((unused)),155 rtems_device_minor_number minor __attribute__((unused)),154 rtems_device_major_number major RTEMS_UNUSED, 155 rtems_device_minor_number minor RTEMS_UNUSED, 156 156 void *pargp 157 157 ) … … 180 180 181 181 rtems_device_driver null_control( 182 rtems_device_major_number major __attribute__((unused)),183 rtems_device_minor_number minor __attribute__((unused)),184 void *pargp __attribute__((unused))182 rtems_device_major_number major RTEMS_UNUSED, 183 rtems_device_minor_number minor RTEMS_UNUSED, 184 void *pargp RTEMS_UNUSED 185 185 ) 186 186 { -
cpukit/libmisc/devnull/devzero.c
rc52568d rf97536d 32 32 rtems_device_driver dev_zero_initialize( 33 33 rtems_device_major_number major, 34 rtems_device_minor_number minor __attribute__((unused)),35 void *arg __attribute__((unused))34 rtems_device_minor_number minor RTEMS_UNUSED, 35 void *arg RTEMS_UNUSED 36 36 ) 37 37 { … … 40 40 41 41 rtems_device_driver dev_zero_open( 42 rtems_device_major_number major __attribute__((unused)),43 rtems_device_minor_number minor __attribute__((unused)),44 void *arg __attribute__((unused))42 rtems_device_major_number major RTEMS_UNUSED, 43 rtems_device_minor_number minor RTEMS_UNUSED, 44 void *arg RTEMS_UNUSED 45 45 ) 46 46 { … … 49 49 50 50 rtems_device_driver dev_zero_close( 51 rtems_device_major_number major __attribute__((unused)),52 rtems_device_minor_number minor __attribute__((unused)),53 void *arg __attribute__((unused))51 rtems_device_major_number major RTEMS_UNUSED, 52 rtems_device_minor_number minor RTEMS_UNUSED, 53 void *arg RTEMS_UNUSED 54 54 ) 55 55 { … … 58 58 59 59 rtems_device_driver dev_zero_read( 60 rtems_device_major_number major __attribute__((unused)),61 rtems_device_minor_number minor __attribute__((unused)),62 void *arg __attribute__((unused))60 rtems_device_major_number major RTEMS_UNUSED, 61 rtems_device_minor_number minor RTEMS_UNUSED, 62 void *arg RTEMS_UNUSED 63 63 ) 64 64 { … … 72 72 73 73 rtems_device_driver dev_zero_write( 74 rtems_device_major_number major __attribute__((unused)),75 rtems_device_minor_number minor __attribute__((unused)),74 rtems_device_major_number major RTEMS_UNUSED, 75 rtems_device_minor_number minor RTEMS_UNUSED, 76 76 void *arg 77 77 ) … … 85 85 86 86 rtems_device_driver dev_zero_control( 87 rtems_device_major_number major __attribute__((unused)),88 rtems_device_minor_number minor __attribute__((unused)),89 void *arg __attribute__((unused))87 rtems_device_major_number major RTEMS_UNUSED, 88 rtems_device_minor_number minor RTEMS_UNUSED, 89 void *arg RTEMS_UNUSED 90 90 ) 91 91 { -
cpukit/libmisc/fb/mw_uid.c
rc52568d rf97536d 37 37 int uid_open_queue( 38 38 const char *q_name, 39 int flags __attribute__((unused)),39 int flags RTEMS_UNUSED, 40 40 size_t max_msgs 41 41 ) -
cpukit/libmisc/monitor/mon-command.c
rc52568d rf97536d 176 176 char **argv, 177 177 const rtems_monitor_command_arg_t *command_arg, 178 bool verbose __attribute__((unused))178 bool verbose RTEMS_UNUSED 179 179 ) 180 180 { -
cpukit/libmisc/monitor/mon-config.c
rc52568d rf97536d 56 56 const void * 57 57 rtems_monitor_config_next( 58 void *object_info __attribute__((unused)),59 rtems_monitor_config_t *canonical_config __attribute__((unused)),58 void *object_info RTEMS_UNUSED, 59 rtems_monitor_config_t *canonical_config RTEMS_UNUSED, 60 60 rtems_id *next_id 61 61 ) … … 80 80 void 81 81 rtems_monitor_config_dump_header( 82 bool verbose __attribute__((unused))82 bool verbose RTEMS_UNUSED 83 83 ) 84 84 { … … 94 94 rtems_monitor_config_dump( 95 95 rtems_monitor_config_t *monitor_config, 96 bool verbose __attribute__((unused))96 bool verbose RTEMS_UNUSED 97 97 ) 98 98 { -
cpukit/libmisc/monitor/mon-driver.c
rc52568d rf97536d 59 59 const void * 60 60 rtems_monitor_driver_next( 61 void *object_info __attribute__((unused)),61 void *object_info RTEMS_UNUSED, 62 62 rtems_monitor_driver_t *canonical_driver, 63 63 rtems_id *next_id … … 89 89 void 90 90 rtems_monitor_driver_dump_header( 91 bool verbose __attribute__((unused))91 bool verbose RTEMS_UNUSED 92 92 ) 93 93 { -
cpukit/libmisc/monitor/mon-extension.c
rc52568d rf97536d 42 42 void 43 43 rtems_monitor_extension_dump_header( 44 bool verbose __attribute__((unused))44 bool verbose RTEMS_UNUSED 45 45 ) 46 46 { -
cpukit/libmisc/monitor/mon-itask.c
rc52568d rf97536d 36 36 const void * 37 37 rtems_monitor_init_task_next( 38 void *object_info __attribute__((unused)),38 void *object_info RTEMS_UNUSED, 39 39 rtems_monitor_init_task_t *canonical_init_task, 40 40 rtems_id *next_id … … 69 69 void 70 70 rtems_monitor_init_task_dump_header( 71 bool verbose __attribute__((unused))71 bool verbose RTEMS_UNUSED 72 72 ) 73 73 { -
cpukit/libmisc/monitor/mon-monitor.c
rc52568d rf97536d 298 298 299 299 void rtems_monitor_debugger_cmd( 300 int argc __attribute__((unused)),301 char **argv __attribute__((unused)),302 const rtems_monitor_command_arg_t *command_arg __attribute__((unused)),303 bool verbose __attribute__((unused))300 int argc RTEMS_UNUSED, 301 char **argv RTEMS_UNUSED, 302 const rtems_monitor_command_arg_t *command_arg RTEMS_UNUSED, 303 bool verbose RTEMS_UNUSED 304 304 ) 305 305 { … … 312 312 int argc, 313 313 char **argv, 314 const rtems_monitor_command_arg_t *command_arg __attribute__((unused)),315 bool verbose __attribute__((unused))314 const rtems_monitor_command_arg_t *command_arg RTEMS_UNUSED, 315 bool verbose RTEMS_UNUSED 316 316 ) 317 317 { … … 326 326 char **argv, 327 327 const rtems_monitor_command_arg_t *command_arg, 328 bool verbose __attribute__((unused))328 bool verbose RTEMS_UNUSED 329 329 ) 330 330 { … … 336 336 337 337 void rtems_monitor_continue_cmd( 338 int argc __attribute__((unused)),339 char **argv __attribute__((unused)),340 const rtems_monitor_command_arg_t *command_arg __attribute__((unused)),341 bool verbose __attribute__((unused))338 int argc RTEMS_UNUSED, 339 char **argv RTEMS_UNUSED, 340 const rtems_monitor_command_arg_t *command_arg RTEMS_UNUSED, 341 bool verbose RTEMS_UNUSED 342 342 ) 343 343 { … … 349 349 int argc, 350 350 char **argv, 351 const rtems_monitor_command_arg_t *command_arg __attribute__((unused)),352 bool verbose __attribute__((unused))351 const rtems_monitor_command_arg_t *command_arg RTEMS_UNUSED, 352 bool verbose RTEMS_UNUSED 353 353 ) 354 354 { -
cpukit/libmisc/monitor/mon-network.c
rc52568d rf97536d 29 29 30 30 void mon_ifconfig(int argc, char *argv[], 31 uint32_t command_arg __attribute__((unused)),32 bool verbose __attribute__((unused)))31 uint32_t command_arg RTEMS_UNUSED, 32 bool verbose RTEMS_UNUSED) 33 33 { 34 34 struct sockaddr_in ipaddr; … … 234 234 235 235 void mon_route(int argc, char *argv[], 236 uint32_t command_arg __attribute__((unused)),237 bool verbose __attribute__((unused)))236 uint32_t command_arg RTEMS_UNUSED, 237 bool verbose RTEMS_UNUSED) 238 238 { 239 239 int cmd; -
cpukit/libmisc/monitor/mon-part.c
rc52568d rf97536d 31 31 void 32 32 rtems_monitor_part_dump_header( 33 bool verbose __attribute__((unused))33 bool verbose RTEMS_UNUSED 34 34 ) 35 35 { … … 48 48 rtems_monitor_part_dump( 49 49 rtems_monitor_part_t *monitor_part, 50 bool verbose __attribute__((unused))50 bool verbose RTEMS_UNUSED 51 51 ) 52 52 { -
cpukit/libmisc/monitor/mon-queue.c
rc52568d rf97536d 25 25 void 26 26 rtems_monitor_queue_dump_header( 27 bool verbose __attribute__((unused))27 bool verbose RTEMS_UNUSED 28 28 ) 29 29 { … … 45 45 rtems_monitor_queue_dump( 46 46 rtems_monitor_queue_t *monitor_queue, 47 bool verbose __attribute__((unused))47 bool verbose RTEMS_UNUSED 48 48 ) 49 49 { -
cpukit/libmisc/monitor/mon-region.c
rc52568d rf97536d 32 32 void 33 33 rtems_monitor_region_dump_header( 34 bool verbose __attribute__((unused))34 bool verbose RTEMS_UNUSED 35 35 ) 36 36 { … … 49 49 rtems_monitor_region_dump( 50 50 rtems_monitor_region_t *monitor_region, 51 bool verbose __attribute__((unused))51 bool verbose RTEMS_UNUSED 52 52 ) 53 53 { -
cpukit/libmisc/monitor/mon-sema.c
rc52568d rf97536d 53 53 void 54 54 rtems_monitor_sema_dump_header( 55 bool verbose __attribute__((unused))55 bool verbose RTEMS_UNUSED 56 56 ) 57 57 { … … 70 70 rtems_monitor_sema_dump( 71 71 rtems_monitor_sema_t *monitor_sema, 72 bool verbose __attribute__((unused))72 bool verbose RTEMS_UNUSED 73 73 ) 74 74 { -
cpukit/libmisc/monitor/mon-server.c
rc52568d rf97536d 112 112 void 113 113 rtems_monitor_server_task( 114 rtems_task_argument monitor_flags __attribute__((unused))114 rtems_task_argument monitor_flags RTEMS_UNUSED 115 115 ) 116 116 { … … 215 215 void 216 216 rtems_monitor_server_init( 217 uint32_t monitor_flags __attribute__((unused))217 uint32_t monitor_flags RTEMS_UNUSED 218 218 ) 219 219 { -
cpukit/libmisc/monitor/mon-symbols.c
rc52568d rf97536d 300 300 rtems_monitor_symbol_next( 301 301 void *object_info, 302 rtems_monitor_symbol_t *canonical __attribute__((unused)),302 rtems_monitor_symbol_t *canonical RTEMS_UNUSED, 303 303 rtems_id *next_id 304 304 ) … … 420 420 rtems_monitor_symbol_dump_all( 421 421 rtems_symbol_table_t *table, 422 bool verbose __attribute__((unused))422 bool verbose RTEMS_UNUSED 423 423 ) 424 424 { -
cpukit/libmisc/monitor/mon-task.c
rc52568d rf97536d 56 56 void 57 57 rtems_monitor_task_dump_header( 58 bool verbose __attribute__((unused))58 bool verbose RTEMS_UNUSED 59 59 ) 60 60 { … … 72 72 rtems_monitor_task_dump( 73 73 rtems_monitor_task_t *monitor_task, 74 bool verbose __attribute__((unused))74 bool verbose RTEMS_UNUSED 75 75 ) 76 76 { -
cpukit/libmisc/serdbg/termios_printk.c
rc52568d rf97536d 44 44 45 45 static void _termios_printk_null_char( 46 char c __attribute__((unused)))46 char c RTEMS_UNUSED) 47 47 { 48 48 return; -
cpukit/libmisc/shell/cmds.c
rc52568d rf97536d 46 46 } 47 47 48 static bool rtems_shell_register_command(const rtems_monitor_command_entry_t *e, void *arg __attribute__((unused)))48 static bool rtems_shell_register_command(const rtems_monitor_command_entry_t *e, void *arg RTEMS_UNUSED) 49 49 { 50 50 /* Exclude EXIT (alias quit)*/ -
cpukit/libmisc/shell/err.h
rc52568d rf97536d 60 60 61 61 #include <setjmp.h> 62 #include <rtems.h> 62 63 63 64 extern jmp_buf rtems_shell_bsd_exit_recover; -
cpukit/libmisc/shell/extern-cp.h
rc52568d rf97536d 44 44 45 45 #include <setjmp.h> 46 #include <rtems.h> 46 47 47 48 typedef struct { -
cpukit/libmisc/shell/extern-ls.h
rc52568d rf97536d 42 42 #include <sys/cdefs.h> 43 43 #include <setjmp.h> 44 #include <rtems.h> 44 45 45 46 #define major(d) rtems_filesystem_dev_major_t(d) -
cpukit/libmisc/shell/hexdump-odsyntax.c
rc52568d rf97536d 63 63 64 64 #ifndef __unused 65 #define __unused __attribute((__unused__))65 #define __unused RTEMS_UNUSED 66 66 #endif 67 67 -
cpukit/libmisc/shell/main_dd.c
rc52568d rf97536d 78 78 79 79 #ifndef __unused 80 #define __unused __attribute((__unused__))80 #define __unused RTEMS_UNUSED 81 81 #endif 82 82 -
cpukit/libmisc/shell/main_halt.c
rc52568d rf97536d 21 21 22 22 static int rtems_shell_main_shutdown( 23 int argc __attribute__((unused)),24 char *argv[] __attribute__((unused))23 int argc RTEMS_UNUSED, 24 char *argv[] RTEMS_UNUSED 25 25 ) 26 26 { -
cpukit/libmisc/shell/main_id.c
rc52568d rf97536d 28 28 29 29 static int rtems_shell_main_id( 30 int argc __attribute__((unused)),31 char *argv[] __attribute__((unused))30 int argc RTEMS_UNUSED, 31 char *argv[] RTEMS_UNUSED 32 32 ) 33 33 { -
cpukit/libmisc/shell/main_logoff.c
rc52568d rf97536d 22 22 23 23 static int rtems_shell_main_logoff( 24 int argc __attribute__((unused)),25 char *argv[] __attribute__((unused))24 int argc RTEMS_UNUSED, 25 char *argv[] RTEMS_UNUSED 26 26 ) 27 27 { -
cpukit/libmisc/shell/main_mount_nfs.c
rc52568d rf97536d 30 30 const char* device, 31 31 const char* mntpoint, 32 rtems_shell_filesystems_t* fs __attribute__((unused)),33 rtems_filesystem_options_t options __attribute__((unused)))32 rtems_shell_filesystems_t* fs RTEMS_UNUSED, 33 rtems_filesystem_options_t options RTEMS_UNUSED) 34 34 { 35 35 char* uidhost; -
cpukit/libmisc/shell/main_pwd.c
rc52568d rf97536d 23 23 24 24 static int rtems_shell_main_pwd( 25 int argc __attribute__((unused)),26 char *argv[] __attribute__((unused))25 int argc RTEMS_UNUSED, 26 char *argv[] RTEMS_UNUSED 27 27 ) 28 28 { -
cpukit/libmisc/shell/main_stackuse.c
rc52568d rf97536d 22 22 23 23 static int rtems_shell_main_stackuse( 24 int argc __attribute__((unused)),25 char *argv[] __attribute__((unused))24 int argc RTEMS_UNUSED, 25 char *argv[] RTEMS_UNUSED 26 26 ) 27 27 { -
cpukit/libmisc/shell/main_tty.c
rc52568d rf97536d 25 25 26 26 static int rtems_shell_main_tty( 27 int argc __attribute__((unused)),28 char *argv[] __attribute__((unused))27 int argc RTEMS_UNUSED, 28 char *argv[] RTEMS_UNUSED 29 29 ) 30 30 { -
cpukit/libmisc/shell/main_whoami.c
rc52568d rf97536d 26 26 27 27 static int rtems_shell_main_whoami( 28 int argc __attribute__((unused)),29 char *argv[] __attribute__((unused))28 int argc RTEMS_UNUSED, 29 char *argv[] RTEMS_UNUSED 30 30 ) 31 31 { -
cpukit/libmisc/shell/main_wkspaceinfo.c
rc52568d rf97536d 31 31 32 32 static int rtems_shell_main_wkspace_info( 33 int argc __attribute__((unused)),34 char *argv[] __attribute__((unused))33 int argc RTEMS_UNUSED, 34 char *argv[] RTEMS_UNUSED 35 35 ) 36 36 { -
cpukit/libmisc/shell/shell_script.c
rc52568d rf97536d 238 238 */ 239 239 int rtems_shell_script_file( 240 int argc __attribute__((unused)),240 int argc RTEMS_UNUSED, 241 241 char *argv[] 242 242 ) -
cpukit/libmisc/shell/utils-cp.c
rc52568d rf97536d 86 86 87 87 int 88 copy_file(rtems_shell_cp_globals* cp_globals __attribute__((unused)), FTSENT *entp, int dne)88 copy_file(rtems_shell_cp_globals* cp_globals RTEMS_UNUSED, FTSENT *entp, int dne) 89 89 { 90 90 #define MAX_READ max_read … … 416 416 417 417 int 418 preserve_fd_acls(int source_fd __attribute__((unused)), int dest_fd __attribute__((unused)))418 preserve_fd_acls(int source_fd RTEMS_UNUSED, int dest_fd RTEMS_UNUSED) 419 419 { 420 420 #if 0 … … 442 442 443 443 int 444 preserve_dir_acls(struct stat *fs __attribute__((unused)), char *source_dir __attribute__((unused)), char *dest_dir __attribute__((unused)))444 preserve_dir_acls(struct stat *fs RTEMS_UNUSED, char *source_dir RTEMS_UNUSED, char *dest_dir RTEMS_UNUSED) 445 445 { 446 446 #if 0 -
cpukit/libmisc/shell/utils-ls.c
rc52568d rf97536d 93 93 94 94 int 95 printescaped(rtems_shell_ls_globals* globals __attribute__((unused)), const char *src)95 printescaped(rtems_shell_ls_globals* globals RTEMS_UNUSED, const char *src) 96 96 { 97 97 unsigned char c; -
cpukit/libmisc/shell/verr.c
rc52568d rf97536d 59 59 60 60 __dead void 61 verr(jmp_buf* exit_jmp, int eval __attribute__((unused)), const char *fmt, _BSD_VA_LIST_ ap)61 verr(jmp_buf* exit_jmp, int eval RTEMS_UNUSED, const char *fmt, _BSD_VA_LIST_ ap) 62 62 { 63 63 int sverrno; -
cpukit/libmisc/shell/verrx.c
rc52568d rf97536d 57 57 58 58 __dead void 59 verrx(jmp_buf* exit_jmp, int eval __attribute__((unused)), const char *fmt, _BSD_VA_LIST_ ap)59 verrx(jmp_buf* exit_jmp, int eval RTEMS_UNUSED, const char *fmt, _BSD_VA_LIST_ ap) 60 60 { 61 61 #if 0 -
cpukit/libmisc/stackchk/check.c
rc52568d rf97536d 183 183 */ 184 184 bool rtems_stack_checker_create_extension( 185 Thread_Control *running __attribute__((unused)),185 Thread_Control *running RTEMS_UNUSED, 186 186 Thread_Control *the_thread 187 187 ) … … 277 277 */ 278 278 void rtems_stack_checker_switch_extension( 279 Thread_Control *running __attribute__((unused)),280 Thread_Control *heir __attribute__((unused))279 Thread_Control *running RTEMS_UNUSED, 280 Thread_Control *heir RTEMS_UNUSED 281 281 ) 282 282 { -
cpukit/libnetworking/lib/tftpDriver.c
rc52568d rf97536d 969 969 */ 970 970 static int rtems_tftp_ftruncate( 971 rtems_libio_t *iop __attribute__((unused)),972 off_t count __attribute__((unused))971 rtems_libio_t *iop RTEMS_UNUSED, 972 off_t count RTEMS_UNUSED 973 973 ) 974 974 { -
cpukit/posix/src/_execve.c
rc52568d rf97536d 29 29 30 30 int _execve( 31 const char *path __attribute__((unused)),32 char *const argv[] __attribute__((unused)),33 char *const envp[] __attribute__((unused))31 const char *path, 32 char *const argv[], 33 char *const envp[] 34 34 ) 35 35 { 36 (void) path; 37 (void) argv; 38 (void) envp; 36 39 rtems_set_errno_and_return_minus_one( ENOSYS ); 37 40 } -
cpukit/posix/src/aio_suspend.c
rc52568d rf97536d 28 28 29 29 int aio_suspend( 30 const struct aiocb * const list[] __attribute__((unused)),31 int nent __attribute__((unused)),32 const struct timespec *timeout __attribute__((unused))30 const struct aiocb * const list[] RTEMS_UNUSED, 31 int nent RTEMS_UNUSED, 32 const struct timespec *timeout RTEMS_UNUSED 33 33 ) 34 34 { -
cpukit/posix/src/alarm.c
rc52568d rf97536d 34 34 */ 35 35 static void _POSIX_signals_Alarm_TSR( 36 Objects_Id id __attribute__((unused)),37 void *argument __attribute__((unused))36 Objects_Id id RTEMS_UNUSED, 37 void *argument RTEMS_UNUSED 38 38 ) 39 39 { -
cpukit/posix/src/lio_listio.c
rc52568d rf97536d 28 28 29 29 int lio_listio( 30 int mode __attribute__((unused)),31 struct aiocb *__restrict const list[__restrict] __attribute__((unused)),32 int nent __attribute__((unused)),33 struct sigevent *__restrict sig __attribute__((unused))30 int mode RTEMS_UNUSED, 31 struct aiocb *__restrict const list[__restrict] RTEMS_UNUSED, 32 int nent RTEMS_UNUSED, 33 struct sigevent *__restrict sig RTEMS_UNUSED 34 34 ) 35 35 { -
cpukit/posix/src/mmap.c
rc52568d rf97536d 19 19 20 20 void *mmap( 21 void *addr __attribute__((unused)),22 size_t lenhth __attribute__((unused)),23 int prot __attribute__((unused)),24 int flags __attribute__((unused)),25 int fildes __attribute__((unused)),21 void *addr, 22 size_t lenhth, 23 int prot, 24 int flags, 25 int fildes, 26 26 off_t off 27 27 ) 28 28 { 29 (void) addr; 30 (void) lenhth; 31 (void) prot; 32 (void) flags; 33 (void) fildes; 34 (void) off; 29 35 return MAP_FAILED; 30 36 } -
cpukit/posix/src/mprotect.c
rc52568d rf97536d 32 32 33 33 int mprotect( 34 void *addr __attribute__((unused)), 35 size_t len __attribute__((unused)), 36 int prot __attribute__((unused)) ) 34 void *addr, 35 size_t len, 36 int prot 37 ) 37 38 { 39 (void) addr; 40 (void) len; 41 (void) prot; 38 42 return 0; 39 43 } -
cpukit/posix/src/mqueueopen.c
rc52568d rf97536d 63 63 * arguments to get to attr. 64 64 */ 65 mode_t mode RTEMS_ COMPILER_UNUSED_ATTRIBUTE;65 mode_t mode RTEMS_UNUSED; 66 66 67 67 va_list arg; -
cpukit/posix/src/munmap.c
rc52568d rf97536d 19 19 20 20 int munmap( 21 void *addr __attribute__((unused)),22 size_t length __attribute__((unused))21 void *addr, 22 size_t length 23 23 ) 24 24 { 25 (void) addr; 26 (void) length; 25 27 return -1; 26 28 } -
cpukit/posix/src/psignal.c
rc52568d rf97536d 48 48 49 49 void _POSIX_signals_Abnormal_termination_handler( 50 int signo __attribute__((unused)))50 int signo RTEMS_UNUSED ) 51 51 { 52 52 exit( 1 ); -
cpukit/posix/src/pthread.c
rc52568d rf97536d 104 104 */ 105 105 void _POSIX_Threads_Sporadic_budget_TSR( 106 Objects_Id id __attribute__((unused)),106 Objects_Id id RTEMS_UNUSED, 107 107 void *argument 108 108 ) … … 187 187 188 188 static bool _POSIX_Threads_Create_extension( 189 Thread_Control *executing __attribute__((unused)),189 Thread_Control *executing RTEMS_UNUSED, 190 190 Thread_Control *created 191 191 ) -
cpukit/posix/src/pthreadatfork.c
rc52568d rf97536d 37 37 */ 38 38 int pthread_atfork( 39 void (*prepare)(void) __attribute__((unused)),40 void (*parent)(void) __attribute__((unused)),41 void (*child)(void) __attribute__((unused))39 void (*prepare)(void), 40 void (*parent)(void), 41 void (*child)(void) 42 42 ) 43 43 { 44 (void) prepare; 45 (void) parent; 46 (void) child; 44 47 rtems_set_errno_and_return_minus_one( ENOSYS ); 45 48 } -
cpukit/posix/src/sched_getparam.c
rc52568d rf97536d 29 29 */ 30 30 int sched_getparam( 31 pid_t pid __attribute__((unused)),32 struct sched_param *param __attribute__((unused))31 pid_t pid RTEMS_UNUSED, 32 struct sched_param *param RTEMS_UNUSED 33 33 ) 34 34 { -
cpukit/posix/src/sched_getscheduler.c
rc52568d rf97536d 30 30 31 31 int sched_getscheduler( 32 pid_t pid __attribute__((unused))32 pid_t pid RTEMS_UNUSED 33 33 ) 34 34 { -
cpukit/posix/src/sched_setparam.c
rc52568d rf97536d 30 30 31 31 int sched_setparam( 32 pid_t pid __attribute__((unused)),33 const struct sched_param *param __attribute__((unused))32 pid_t pid RTEMS_UNUSED, 33 const struct sched_param *param RTEMS_UNUSED 34 34 ) 35 35 { -
cpukit/posix/src/sched_setscheduler.c
rc52568d rf97536d 28 28 29 29 int sched_setscheduler( 30 pid_t pid __attribute__((unused)),31 int policy __attribute__((unused)),32 const struct sched_param *param __attribute__((unused))30 pid_t pid RTEMS_UNUSED, 31 int policy RTEMS_UNUSED, 32 const struct sched_param *param RTEMS_UNUSED 33 33 ) 34 34 { -
cpukit/posix/src/semopen.c
rc52568d rf97536d 56 56 * arguments to get to attr. 57 57 */ 58 mode_t mode RTEMS_ COMPILER_UNUSED_ATTRIBUTE;58 mode_t mode RTEMS_UNUSED; 59 59 60 60 va_list arg; -
cpukit/posix/src/timertsr.c
rc52568d rf97536d 33 33 */ 34 34 void _POSIX_Timer_TSR( 35 Objects_Id timer __attribute__((unused)),35 Objects_Id timer RTEMS_UNUSED, 36 36 void *data) 37 37 { -
cpukit/posix/src/ualarm.c
rc52568d rf97536d 41 41 42 42 static void _POSIX_signals_Ualarm_TSR( 43 Objects_Id id __attribute__((unused)),44 void *argument __attribute__((unused))43 Objects_Id id RTEMS_UNUSED, 44 void *argument RTEMS_UNUSED 45 45 ) 46 46 { -
cpukit/score/include/rtems/score/basedefs.h
rc52568d rf97536d 218 218 */ 219 219 #if defined(__GNUC__) 220 #define RTEMS_COMPILER_UNUSED_ATTRIBUTE __attribute__((unused)) 221 #else 222 #define RTEMS_COMPILER_UNUSED_ATTRIBUTE 223 #endif 220 #define RTEMS_UNUSED __attribute__((__unused__)) 221 #else 222 #define RTEMS_UNUSED 223 #endif 224 225 /* Provided for backward compatibility */ 226 #define RTEMS_COMPILER_UNUSED_ATTRIBUTE RTEMS_UNUSED 224 227 225 228 /** -
cpukit/score/include/rtems/score/objectimpl.h
rc52568d rf97536d 775 775 Objects_Id id 776 776 #else 777 Objects_Id id __attribute__((unused))777 Objects_Id id RTEMS_UNUSED 778 778 #endif 779 779 ) -
cpukit/score/include/rtems/score/sysstate.h
rc52568d rf97536d 81 81 bool is_multiprocessing 82 82 #else 83 bool is_multiprocessing __attribute__((unused))83 bool is_multiprocessing RTEMS_UNUSED 84 84 #endif 85 85 ) -
cpukit/score/src/corebarrierrelease.c
rc52568d rf97536d 30 30 CORE_barrier_API_mp_support_callout api_barrier_mp_support 31 31 #else 32 Objects_Id id __attribute__((unused)),33 CORE_barrier_API_mp_support_callout api_barrier_mp_support __attribute__((unused))32 Objects_Id id RTEMS_UNUSED, 33 CORE_barrier_API_mp_support_callout api_barrier_mp_support RTEMS_UNUSED 34 34 #endif 35 35 ) -
cpukit/score/src/coremsgbroadcast.c
rc52568d rf97536d 30 30 CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, 31 31 #else 32 Objects_Id id __attribute__((unused)),33 CORE_message_queue_API_mp_support_callout api_message_queue_mp_support __attribute__((unused)),32 Objects_Id id RTEMS_UNUSED, 33 CORE_message_queue_API_mp_support_callout api_message_queue_mp_support RTEMS_UNUSED, 34 34 #endif 35 35 uint32_t *count, -
cpukit/score/src/coremsgsubmit.c
rc52568d rf97536d 35 35 CORE_message_queue_API_mp_support_callout api_message_queue_mp_support, 36 36 #else 37 CORE_message_queue_API_mp_support_callout api_message_queue_mp_support __attribute__((unused)),37 CORE_message_queue_API_mp_support_callout api_message_queue_mp_support RTEMS_UNUSED, 38 38 #endif 39 39 CORE_message_queue_Submit_types submit_type, -
cpukit/score/src/coremutexsurrender.c
rc52568d rf97536d 92 92 CORE_mutex_API_mp_support_callout api_mutex_mp_support, 93 93 #else 94 Objects_Id id __attribute__((unused)),95 CORE_mutex_API_mp_support_callout api_mutex_mp_support __attribute__((unused)),94 Objects_Id id RTEMS_UNUSED, 95 CORE_mutex_API_mp_support_callout api_mutex_mp_support RTEMS_UNUSED, 96 96 #endif 97 97 ISR_lock_Context *lock_context -
cpukit/score/src/heapextend.c
rc52568d rf97536d 122 122 void *extend_area_begin_ptr, 123 123 uintptr_t extend_area_size, 124 uintptr_t unused __attribute__((unused))124 uintptr_t unused RTEMS_UNUSED 125 125 ) 126 126 { -
cpukit/score/src/heapgetinfo.c
rc52568d rf97536d 25 25 26 26 static bool _Heap_Get_information_visitor( 27 const Heap_Block *block __attribute__((unused)),27 const Heap_Block *block RTEMS_UNUSED, 28 28 uintptr_t block_size, 29 29 bool block_is_used, -
cpukit/score/src/heapnoextend.c
rc52568d rf97536d 28 28 29 29 uintptr_t _Heap_No_extend( 30 Heap_Control *unused_0 __attribute__((unused)),31 void *unused_1 __attribute__((unused)),32 uintptr_t unused_2 __attribute__((unused)),33 uintptr_t unused_3 __attribute__((unused))30 Heap_Control *unused_0 RTEMS_UNUSED, 31 void *unused_1 RTEMS_UNUSED, 32 uintptr_t unused_2 RTEMS_UNUSED, 33 uintptr_t unused_3 RTEMS_UNUSED 34 34 ) 35 35 { -
cpukit/score/src/threadqflush.c
rc52568d rf97536d 27 27 Thread_queue_Flush_callout remote_extract_callout, 28 28 #else 29 Thread_queue_Flush_callout remote_extract_callout __attribute__((unused)),29 Thread_queue_Flush_callout remote_extract_callout RTEMS_UNUSED, 30 30 #endif 31 31 uint32_t status -
testsuites/libtests/devfs04/test_driver.c
rc52568d rf97536d 37 37 rtems_device_driver testDriver_initialize( 38 38 rtems_device_major_number major, 39 rtems_device_minor_number minor __attribute__((unused)),40 void *pargp __attribute__((unused))39 rtems_device_minor_number minor RTEMS_UNUSED, 40 void *pargp RTEMS_UNUSED 41 41 ) 42 42 { … … 74 74 */ 75 75 rtems_device_driver testDriver_open( 76 rtems_device_major_number major __attribute__((unused)),77 rtems_device_minor_number minor __attribute__((unused)),78 void *pargp __attribute__((unused))76 rtems_device_major_number major RTEMS_UNUSED, 77 rtems_device_minor_number minor RTEMS_UNUSED, 78 void *pargp RTEMS_UNUSED 79 79 ) 80 80 { … … 95 95 */ 96 96 rtems_device_driver testDriver_close( 97 rtems_device_major_number major __attribute__((unused)),98 rtems_device_minor_number minor __attribute__((unused)),99 void *pargp __attribute__((unused))97 rtems_device_major_number major RTEMS_UNUSED, 98 rtems_device_minor_number minor RTEMS_UNUSED, 99 void *pargp RTEMS_UNUSED 100 100 ) 101 101 { … … 116 116 */ 117 117 rtems_device_driver testDriver_read( 118 rtems_device_major_number major __attribute__((unused)),119 rtems_device_minor_number minor __attribute__((unused)),118 rtems_device_major_number major RTEMS_UNUSED, 119 rtems_device_minor_number minor RTEMS_UNUSED, 120 120 void *pargp 121 121 ) … … 148 148 */ 149 149 rtems_device_driver testDriver_write( 150 rtems_device_major_number major __attribute__((unused)),151 rtems_device_minor_number minor __attribute__((unused)),150 rtems_device_major_number major RTEMS_UNUSED, 151 rtems_device_minor_number minor RTEMS_UNUSED, 152 152 void *pargp 153 153 ) … … 181 181 182 182 rtems_device_driver testDriver_control( 183 rtems_device_major_number major __attribute__((unused)),184 rtems_device_minor_number minor __attribute__((unused)),185 void *pargp __attribute__((unused))183 rtems_device_major_number major RTEMS_UNUSED, 184 rtems_device_minor_number minor RTEMS_UNUSED, 185 void *pargp RTEMS_UNUSED 186 186 ) 187 187 { -
testsuites/libtests/deviceio01/test_driver.c
rc52568d rf97536d 36 36 rtems_device_driver testDriver_initialize( 37 37 rtems_device_major_number major, 38 rtems_device_minor_number minor __attribute__((unused)),39 void *pargp __attribute__((unused))38 rtems_device_minor_number minor RTEMS_UNUSED, 39 void *pargp RTEMS_UNUSED 40 40 ) 41 41 { … … 73 73 */ 74 74 rtems_device_driver testDriver_open( 75 rtems_device_major_number major __attribute__((unused)),76 rtems_device_minor_number minor __attribute__((unused)),77 void *pargp __attribute__((unused))75 rtems_device_major_number major RTEMS_UNUSED, 76 rtems_device_minor_number minor RTEMS_UNUSED, 77 void *pargp RTEMS_UNUSED 78 78 ) 79 79 { … … 94 94 */ 95 95 rtems_device_driver testDriver_close( 96 rtems_device_major_number major __attribute__((unused)),97 rtems_device_minor_number minor __attribute__((unused)),98 void *pargp __attribute__((unused))96 rtems_device_major_number major RTEMS_UNUSED, 97 rtems_device_minor_number minor RTEMS_UNUSED, 98 void *pargp RTEMS_UNUSED 99 99 ) 100 100 { … … 115 115 */ 116 116 rtems_device_driver testDriver_read( 117 rtems_device_major_number major __attribute__((unused)),118 rtems_device_minor_number minor __attribute__((unused)),117 rtems_device_major_number major RTEMS_UNUSED, 118 rtems_device_minor_number minor RTEMS_UNUSED, 119 119 void *pargp 120 120 ) … … 147 147 */ 148 148 rtems_device_driver testDriver_write( 149 rtems_device_major_number major __attribute__((unused)),150 rtems_device_minor_number minor __attribute__((unused)),149 rtems_device_major_number major RTEMS_UNUSED, 150 rtems_device_minor_number minor RTEMS_UNUSED, 151 151 void *pargp 152 152 ) … … 180 180 181 181 rtems_device_driver testDriver_control( 182 rtems_device_major_number major __attribute__((unused)),183 rtems_device_minor_number minor __attribute__((unused)),184 void *pargp __attribute__((unused))182 rtems_device_major_number major RTEMS_UNUSED, 183 rtems_device_minor_number minor RTEMS_UNUSED, 184 void *pargp RTEMS_UNUSED 185 185 ) 186 186 { -
testsuites/psxtests/psxconfig01/init.c
rc52568d rf97536d 219 219 220 220 #if !defined(RTEMS_SMP) 221 static void task_var_dtor(void *var __attribute__((unused)))221 static void task_var_dtor(void *var RTEMS_UNUSED) 222 222 { 223 223 /* Do nothing */ … … 225 225 #endif 226 226 227 static void *posix_thread(void *arg __attribute__((unused)))227 static void *posix_thread(void *arg RTEMS_UNUSED) 228 228 { 229 229 rtems_test_assert(0); 230 230 } 231 231 232 static void posix_key_dtor(void *key __attribute__((unused)))232 static void posix_key_dtor(void *key RTEMS_UNUSED) 233 233 { 234 234 /* Do nothing */ -
testsuites/sptests/spfatal_support/consume_sems.c
rc52568d rf97536d 16 16 /* forward declarations to avoid warnings */ 17 17 rtems_device_driver consume_semaphores_initialize( 18 rtems_device_major_number major __attribute__((unused)),19 rtems_device_minor_number minor __attribute__((unused)),20 void *pargp __attribute__((unused))18 rtems_device_major_number major RTEMS_UNUSED, 19 rtems_device_minor_number minor RTEMS_UNUSED, 20 void *pargp RTEMS_UNUSED 21 21 ); 22 22 … … 25 25 26 26 rtems_device_driver consume_semaphores_initialize( 27 rtems_device_major_number major __attribute__((unused)),28 rtems_device_minor_number minor __attribute__((unused)),29 void *pargp __attribute__((unused))27 rtems_device_major_number major RTEMS_UNUSED, 28 rtems_device_minor_number minor RTEMS_UNUSED, 29 void *pargp RTEMS_UNUSED 30 30 ) 31 31 { -
testsuites/sptests/spfatal_support/system.h
rc52568d rf97536d 43 43 44 44 rtems_device_driver consume_semaphores_initialize( 45 rtems_device_major_number major __attribute__((unused)),46 rtems_device_minor_number minor __attribute__((unused)),47 void *pargp __attribute__((unused))45 rtems_device_major_number major RTEMS_UNUSED, 46 rtems_device_minor_number minor RTEMS_UNUSED, 47 void *pargp RTEMS_UNUSED 48 48 ); 49 49 -
testsuites/tmtests/tmoverhd/dumrtems.h
rc52568d rf97536d 248 248 249 249 #if defined(__GNUC__) 250 #define RTEMS_GCC_NOWARN_UNUSED __attribute__((unused))250 #define RTEMS_GCC_NOWARN_UNUSED RTEMS_UNUSED 251 251 #else 252 252 #define RTEMS_GCC_NOWARN_UNUSED
Note: See TracChangeset
for help on using the changeset viewer.