mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Add __attribute__((unused)) to unused function args.
This commit is contained in:
@@ -22,11 +22,11 @@
|
||||
*/
|
||||
|
||||
ER acp_por(
|
||||
RNO *p_rdvno,
|
||||
VP msg,
|
||||
INT *p_cmsgsz,
|
||||
ID porid,
|
||||
UINT acpptn
|
||||
RNO *p_rdvno __attribute__((unused)),
|
||||
VP msg __attribute__((unused)),
|
||||
INT *p_cmsgsz __attribute__((unused)),
|
||||
ID porid __attribute__((unused)),
|
||||
UINT acpptn __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
ER act_cyc(
|
||||
HNO cycno,
|
||||
HNO cycno __attribute__((unused)),
|
||||
UINT cycact
|
||||
)
|
||||
{
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
*/
|
||||
|
||||
ER cal_por(
|
||||
VP msg,
|
||||
INT *p_rmsgsz,
|
||||
ID porid,
|
||||
UINT calptn,
|
||||
INT cmsgsz
|
||||
VP msg __attribute__((unused)),
|
||||
INT *p_rmsgsz __attribute__((unused)),
|
||||
ID porid __attribute__((unused)),
|
||||
UINT calptn __attribute__((unused)),
|
||||
INT cmsgsz __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
ER can_wup(
|
||||
INT *p_wupcnt,
|
||||
INT *p_wupcnt __attribute__((unused)),
|
||||
ID tskid
|
||||
)
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER chg_iXX(
|
||||
UINT iXXXX
|
||||
UINT iXXXX __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER clr_flg(
|
||||
ID flgid,
|
||||
UINT clrptn
|
||||
ID flgid __attribute__((unused)),
|
||||
UINT clrptn __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER cre_flg(
|
||||
ID flgid,
|
||||
T_CFLG *pk_cflg
|
||||
ID flgid __attribute__((unused)),
|
||||
T_CFLG *pk_cflg __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER cre_mpf(
|
||||
ID mpfid,
|
||||
T_CMPF *pk_cmpf
|
||||
ID mpfid __attribute__((unused)),
|
||||
T_CMPF *pk_cmpf __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER cre_mpl(
|
||||
ID mplid,
|
||||
T_CMPL *pk_cmpl
|
||||
ID mplid __attribute__((unused)),
|
||||
T_CMPL *pk_cmpl __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER cre_por(
|
||||
ID porid,
|
||||
T_CPOR *pk_cpor
|
||||
ID porid __attribute__((unused)),
|
||||
T_CPOR *pk_cpor __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
*/
|
||||
|
||||
ER def_alm(
|
||||
HNO almno,
|
||||
T_DALM *pk_dalm
|
||||
HNO almno __attribute__((unused)),
|
||||
T_DALM *pk_dalm __attribute__((unused))
|
||||
)
|
||||
{
|
||||
#if 0
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
ER def_cyc(
|
||||
HNO cycno,
|
||||
HNO cycno __attribute__((unused)),
|
||||
T_DCYC *pk_dcyc
|
||||
)
|
||||
{
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER def_int(
|
||||
UINT dintno,
|
||||
T_DINT *pk_dint
|
||||
UINT dintno __attribute__((unused)),
|
||||
T_DINT *pk_dint __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER del_flg(
|
||||
ID flgid
|
||||
ID flgid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER del_mpf(
|
||||
ID mpfid
|
||||
ID mpfid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER del_mpl(
|
||||
ID mplid
|
||||
ID mplid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER del_por(
|
||||
ID porid
|
||||
ID porid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER dis_int(
|
||||
UINT eintno
|
||||
UINT eintno __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER ena_int(
|
||||
UINT eintno
|
||||
UINT eintno __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
*/
|
||||
|
||||
ER fwd_por(
|
||||
ID porid,
|
||||
UINT calptn,
|
||||
RNO rdvno,
|
||||
VP msg,
|
||||
INT cmsgsz
|
||||
ID porid __attribute__((unused)),
|
||||
UINT calptn __attribute__((unused)),
|
||||
RNO rdvno __attribute__((unused)),
|
||||
VP msg __attribute__((unused)),
|
||||
INT cmsgsz __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER get_blf(
|
||||
VP *p_blf,
|
||||
ID mpfid
|
||||
VP *p_blf __attribute__((unused)),
|
||||
ID mpfid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
*/
|
||||
|
||||
ER get_blk(
|
||||
VP *p_blk,
|
||||
ID mplid,
|
||||
INT blksz
|
||||
VP *p_blk __attribute__((unused)),
|
||||
ID mplid __attribute__((unused)),
|
||||
INT blksz __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
ER get_tim(
|
||||
SYSTIME *pk_tim
|
||||
SYSTIME *pk_tim __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
*/
|
||||
|
||||
ER pacp_por(
|
||||
RNO *p_rdvno,
|
||||
VP msg,
|
||||
INT *p_cmsgsz,
|
||||
ID porid,
|
||||
UINT acpptn
|
||||
RNO *p_rdvno __attribute__((unused)),
|
||||
VP msg __attribute__((unused)),
|
||||
INT *p_cmsgsz __attribute__((unused)),
|
||||
ID porid __attribute__((unused)),
|
||||
UINT acpptn __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
*/
|
||||
|
||||
ER pcal_por(
|
||||
VP msg,
|
||||
INT *p_rmsgsz,
|
||||
ID porid,
|
||||
UINT calptn,
|
||||
INT cmsgsz
|
||||
VP msg __attribute__((unused)),
|
||||
INT *p_rmsgsz __attribute__((unused)),
|
||||
ID porid __attribute__((unused)),
|
||||
UINT calptn __attribute__((unused)),
|
||||
INT cmsgsz __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER pget_blf(
|
||||
VP *p_blf,
|
||||
ID mpfid
|
||||
VP *p_blf __attribute__((unused)),
|
||||
ID mpfid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
*/
|
||||
|
||||
ER pget_blk(
|
||||
VP *p_blk,
|
||||
ID mplid,
|
||||
INT blksz
|
||||
VP *p_blk __attribute__((unused)),
|
||||
ID mplid __attribute__((unused)),
|
||||
INT blksz __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
*/
|
||||
|
||||
ER pol_flg(
|
||||
UINT *p_flgptn,
|
||||
ID flgid,
|
||||
UINT waiptn,
|
||||
UINT wfmode
|
||||
UINT *p_flgptn __attribute__((unused)),
|
||||
ID flgid __attribute__((unused)),
|
||||
UINT waiptn __attribute__((unused)),
|
||||
UINT wfmode __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
*/
|
||||
|
||||
ER ref_alm(
|
||||
T_RALM *pk_ralm,
|
||||
HNO almno
|
||||
T_RALM *pk_ralm __attribute__((unused)),
|
||||
HNO almno __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
ER ref_cyc(
|
||||
T_RCYC *pk_rcyc,
|
||||
HNO cycno
|
||||
HNO cycno __attribute__((unused))
|
||||
)
|
||||
{
|
||||
#if 0
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER ref_flg(
|
||||
T_RFLG *pk_rflg,
|
||||
ID flgid
|
||||
T_RFLG *pk_rflg __attribute__((unused)),
|
||||
ID flgid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
ER ref_iXX(
|
||||
UINT *p_iXXXX
|
||||
UINT *p_iXXXX __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER ref_mpf(
|
||||
T_RMPF *pk_rmpf,
|
||||
ID mpfid
|
||||
T_RMPF *pk_rmpf __attribute__((unused)),
|
||||
ID mpfid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER ref_mpl(
|
||||
T_RMPL *pk_rmpl,
|
||||
ID mplid
|
||||
T_RMPL *pk_rmpl __attribute__((unused)),
|
||||
ID mplid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER ref_por(
|
||||
T_RPOR *pk_rpor,
|
||||
ID porid
|
||||
T_RPOR *pk_rpor __attribute__((unused)),
|
||||
ID porid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER rel_blf(
|
||||
ID mpfid,
|
||||
VP blf
|
||||
ID mpfid __attribute__((unused)),
|
||||
VP blf __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER rel_blk(
|
||||
ID mplid,
|
||||
VP blk
|
||||
ID mplid __attribute__((unused)),
|
||||
VP blk __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
void ret_wup(
|
||||
ID tskid
|
||||
ID tskid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
*/
|
||||
|
||||
ER rpl_rdv(
|
||||
RNO rdvno,
|
||||
VP msg,
|
||||
INT rmsgsz
|
||||
RNO rdvno __attribute__((unused)),
|
||||
VP msg __attribute__((unused)),
|
||||
INT rmsgsz __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
*/
|
||||
|
||||
ER set_flg(
|
||||
ID flgid,
|
||||
UINT setptn
|
||||
ID flgid __attribute__((unused)),
|
||||
UINT setptn __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
|
||||
ER set_tim(
|
||||
SYSTIME *pk_tim
|
||||
SYSTIME *pk_tim __attribute__((unused))
|
||||
)
|
||||
{
|
||||
#if 0
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
ER sta_tsk(
|
||||
ID tskid,
|
||||
INT stacd
|
||||
INT stacd __attribute__((unused))
|
||||
)
|
||||
{
|
||||
register Thread_Control *the_thread;
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
*/
|
||||
|
||||
ER tacp_por(
|
||||
RNO *p_rdvno,
|
||||
VP msg,
|
||||
INT *p_cmsgsz,
|
||||
ID porid,
|
||||
UINT acpptn,
|
||||
TMO tmout
|
||||
RNO *p_rdvno __attribute__((unused)),
|
||||
VP msg __attribute__((unused)),
|
||||
INT *p_cmsgsz __attribute__((unused)),
|
||||
ID porid __attribute__((unused)),
|
||||
UINT acpptn __attribute__((unused)),
|
||||
TMO tmout __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
*/
|
||||
|
||||
ER tcal_por(
|
||||
VP msg,
|
||||
INT *p_rmsgsz,
|
||||
ID porid,
|
||||
UINT calptn,
|
||||
INT cmsgsz,
|
||||
TMO tmout
|
||||
VP msg __attribute__((unused)),
|
||||
INT *p_rmsgsz __attribute__((unused)),
|
||||
ID porid __attribute__((unused)),
|
||||
UINT calptn __attribute__((unused)),
|
||||
INT cmsgsz __attribute__((unused)),
|
||||
TMO tmout __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
*/
|
||||
|
||||
ER tget_blf(
|
||||
VP *p_blf,
|
||||
ID mpfid,
|
||||
TMO tmout
|
||||
VP *p_blf __attribute__((unused)),
|
||||
ID mpfid __attribute__((unused)),
|
||||
TMO tmout __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
*/
|
||||
|
||||
ER tget_blk(
|
||||
VP *p_blk,
|
||||
ID mplid,
|
||||
INT blksz,
|
||||
TMO tmout
|
||||
VP *p_blk __attribute__((unused)),
|
||||
ID mplid __attribute__((unused)),
|
||||
INT blksz __attribute__((unused)),
|
||||
TMO tmout __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
ER tslp_tsk(
|
||||
TMO tmout
|
||||
TMO tmout __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
*/
|
||||
|
||||
ER twai_flg(
|
||||
UINT *p_flgptn,
|
||||
ID flgid,
|
||||
UINT waiptn,
|
||||
UINT wfmode,
|
||||
TMO tmout
|
||||
UINT *p_flgptn __attribute__((unused)),
|
||||
ID flgid __attribute__((unused)),
|
||||
UINT waiptn __attribute__((unused)),
|
||||
UINT wfmode __attribute__((unused)),
|
||||
TMO tmout __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
*/
|
||||
|
||||
ER wai_flg(
|
||||
UINT *p_flgptn,
|
||||
ID flgid,
|
||||
UINT waiptn,
|
||||
UINT wfmode
|
||||
UINT *p_flgptn __attribute__((unused)),
|
||||
ID flgid __attribute__((unused)),
|
||||
UINT waiptn __attribute__((unused)),
|
||||
UINT wfmode __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
*/
|
||||
|
||||
ER wup_tsk(
|
||||
ID tskid
|
||||
ID tskid __attribute__((unused))
|
||||
)
|
||||
{
|
||||
return E_OK;
|
||||
|
||||
Reference in New Issue
Block a user