Add __attribute__((unused)) to unused function args.

This commit is contained in:
Ralf Corsepius
2009-01-01 15:13:07 +00:00
parent 3ff088432c
commit 6b8fe0067d
50 changed files with 118 additions and 118 deletions

View File

@@ -22,11 +22,11 @@
*/ */
ER acp_por( ER acp_por(
RNO *p_rdvno, RNO *p_rdvno __attribute__((unused)),
VP msg, VP msg __attribute__((unused)),
INT *p_cmsgsz, INT *p_cmsgsz __attribute__((unused)),
ID porid, ID porid __attribute__((unused)),
UINT acpptn UINT acpptn __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -25,7 +25,7 @@
*/ */
ER act_cyc( ER act_cyc(
HNO cycno, HNO cycno __attribute__((unused)),
UINT cycact UINT cycact
) )
{ {

View File

@@ -22,11 +22,11 @@
*/ */
ER cal_por( ER cal_por(
VP msg, VP msg __attribute__((unused)),
INT *p_rmsgsz, INT *p_rmsgsz __attribute__((unused)),
ID porid, ID porid __attribute__((unused)),
UINT calptn, UINT calptn __attribute__((unused)),
INT cmsgsz INT cmsgsz __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -28,7 +28,7 @@
*/ */
ER can_wup( ER can_wup(
INT *p_wupcnt, INT *p_wupcnt __attribute__((unused)),
ID tskid ID tskid
) )
{ {

View File

@@ -22,7 +22,7 @@
*/ */
ER chg_iXX( ER chg_iXX(
UINT iXXXX UINT iXXXX __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER clr_flg( ER clr_flg(
ID flgid, ID flgid __attribute__((unused)),
UINT clrptn UINT clrptn __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER cre_flg( ER cre_flg(
ID flgid, ID flgid __attribute__((unused)),
T_CFLG *pk_cflg T_CFLG *pk_cflg __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER cre_mpf( ER cre_mpf(
ID mpfid, ID mpfid __attribute__((unused)),
T_CMPF *pk_cmpf T_CMPF *pk_cmpf __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER cre_mpl( ER cre_mpl(
ID mplid, ID mplid __attribute__((unused)),
T_CMPL *pk_cmpl T_CMPL *pk_cmpl __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER cre_por( ER cre_por(
ID porid, ID porid __attribute__((unused)),
T_CPOR *pk_cpor T_CPOR *pk_cpor __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -25,8 +25,8 @@
*/ */
ER def_alm( ER def_alm(
HNO almno, HNO almno __attribute__((unused)),
T_DALM *pk_dalm T_DALM *pk_dalm __attribute__((unused))
) )
{ {
#if 0 #if 0

View File

@@ -25,7 +25,7 @@
*/ */
ER def_cyc( ER def_cyc(
HNO cycno, HNO cycno __attribute__((unused)),
T_DCYC *pk_dcyc T_DCYC *pk_dcyc
) )
{ {

View File

@@ -22,8 +22,8 @@
*/ */
ER def_int( ER def_int(
UINT dintno, UINT dintno __attribute__((unused)),
T_DINT *pk_dint T_DINT *pk_dint __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER del_flg( ER del_flg(
ID flgid ID flgid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER del_mpf( ER del_mpf(
ID mpfid ID mpfid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER del_mpl( ER del_mpl(
ID mplid ID mplid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER del_por( ER del_por(
ID porid ID porid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER dis_int( ER dis_int(
UINT eintno UINT eintno __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER ena_int( ER ena_int(
UINT eintno UINT eintno __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,11 +22,11 @@
*/ */
ER fwd_por( ER fwd_por(
ID porid, ID porid __attribute__((unused)),
UINT calptn, UINT calptn __attribute__((unused)),
RNO rdvno, RNO rdvno __attribute__((unused)),
VP msg, VP msg __attribute__((unused)),
INT cmsgsz INT cmsgsz __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER get_blf( ER get_blf(
VP *p_blf, VP *p_blf __attribute__((unused)),
ID mpfid ID mpfid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,9 +22,9 @@
*/ */
ER get_blk( ER get_blk(
VP *p_blk, VP *p_blk __attribute__((unused)),
ID mplid, ID mplid __attribute__((unused)),
INT blksz INT blksz __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -25,7 +25,7 @@
*/ */
ER get_tim( ER get_tim(
SYSTIME *pk_tim SYSTIME *pk_tim __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,11 +22,11 @@
*/ */
ER pacp_por( ER pacp_por(
RNO *p_rdvno, RNO *p_rdvno __attribute__((unused)),
VP msg, VP msg __attribute__((unused)),
INT *p_cmsgsz, INT *p_cmsgsz __attribute__((unused)),
ID porid, ID porid __attribute__((unused)),
UINT acpptn UINT acpptn __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,11 +22,11 @@
*/ */
ER pcal_por( ER pcal_por(
VP msg, VP msg __attribute__((unused)),
INT *p_rmsgsz, INT *p_rmsgsz __attribute__((unused)),
ID porid, ID porid __attribute__((unused)),
UINT calptn, UINT calptn __attribute__((unused)),
INT cmsgsz INT cmsgsz __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER pget_blf( ER pget_blf(
VP *p_blf, VP *p_blf __attribute__((unused)),
ID mpfid ID mpfid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,9 +22,9 @@
*/ */
ER pget_blk( ER pget_blk(
VP *p_blk, VP *p_blk __attribute__((unused)),
ID mplid, ID mplid __attribute__((unused)),
INT blksz INT blksz __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,10 +22,10 @@
*/ */
ER pol_flg( ER pol_flg(
UINT *p_flgptn, UINT *p_flgptn __attribute__((unused)),
ID flgid, ID flgid __attribute__((unused)),
UINT waiptn, UINT waiptn __attribute__((unused)),
UINT wfmode UINT wfmode __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -25,8 +25,8 @@
*/ */
ER ref_alm( ER ref_alm(
T_RALM *pk_ralm, T_RALM *pk_ralm __attribute__((unused)),
HNO almno HNO almno __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -26,7 +26,7 @@
ER ref_cyc( ER ref_cyc(
T_RCYC *pk_rcyc, T_RCYC *pk_rcyc,
HNO cycno HNO cycno __attribute__((unused))
) )
{ {
#if 0 #if 0

View File

@@ -22,8 +22,8 @@
*/ */
ER ref_flg( ER ref_flg(
T_RFLG *pk_rflg, T_RFLG *pk_rflg __attribute__((unused)),
ID flgid ID flgid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
ER ref_iXX( ER ref_iXX(
UINT *p_iXXXX UINT *p_iXXXX __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER ref_mpf( ER ref_mpf(
T_RMPF *pk_rmpf, T_RMPF *pk_rmpf __attribute__((unused)),
ID mpfid ID mpfid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER ref_mpl( ER ref_mpl(
T_RMPL *pk_rmpl, T_RMPL *pk_rmpl __attribute__((unused)),
ID mplid ID mplid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER ref_por( ER ref_por(
T_RPOR *pk_rpor, T_RPOR *pk_rpor __attribute__((unused)),
ID porid ID porid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER rel_blf( ER rel_blf(
ID mpfid, ID mpfid __attribute__((unused)),
VP blf VP blf __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER rel_blk( ER rel_blk(
ID mplid, ID mplid __attribute__((unused)),
VP blk VP blk __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,7 +22,7 @@
*/ */
void ret_wup( void ret_wup(
ID tskid ID tskid __attribute__((unused))
) )
{ {
} }

View File

@@ -22,9 +22,9 @@
*/ */
ER rpl_rdv( ER rpl_rdv(
RNO rdvno, RNO rdvno __attribute__((unused)),
VP msg, VP msg __attribute__((unused)),
INT rmsgsz INT rmsgsz __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,8 +22,8 @@
*/ */
ER set_flg( ER set_flg(
ID flgid, ID flgid __attribute__((unused)),
UINT setptn UINT setptn __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -25,7 +25,7 @@
*/ */
ER set_tim( ER set_tim(
SYSTIME *pk_tim SYSTIME *pk_tim __attribute__((unused))
) )
{ {
#if 0 #if 0

View File

@@ -30,7 +30,7 @@
ER sta_tsk( ER sta_tsk(
ID tskid, ID tskid,
INT stacd INT stacd __attribute__((unused))
) )
{ {
register Thread_Control *the_thread; register Thread_Control *the_thread;

View File

@@ -22,12 +22,12 @@
*/ */
ER tacp_por( ER tacp_por(
RNO *p_rdvno, RNO *p_rdvno __attribute__((unused)),
VP msg, VP msg __attribute__((unused)),
INT *p_cmsgsz, INT *p_cmsgsz __attribute__((unused)),
ID porid, ID porid __attribute__((unused)),
UINT acpptn, UINT acpptn __attribute__((unused)),
TMO tmout TMO tmout __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,12 +22,12 @@
*/ */
ER tcal_por( ER tcal_por(
VP msg, VP msg __attribute__((unused)),
INT *p_rmsgsz, INT *p_rmsgsz __attribute__((unused)),
ID porid, ID porid __attribute__((unused)),
UINT calptn, UINT calptn __attribute__((unused)),
INT cmsgsz, INT cmsgsz __attribute__((unused)),
TMO tmout TMO tmout __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,9 +22,9 @@
*/ */
ER tget_blf( ER tget_blf(
VP *p_blf, VP *p_blf __attribute__((unused)),
ID mpfid, ID mpfid __attribute__((unused)),
TMO tmout TMO tmout __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,10 +22,10 @@
*/ */
ER tget_blk( ER tget_blk(
VP *p_blk, VP *p_blk __attribute__((unused)),
ID mplid, ID mplid __attribute__((unused)),
INT blksz, INT blksz __attribute__((unused)),
TMO tmout TMO tmout __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -29,7 +29,7 @@
*/ */
ER tslp_tsk( ER tslp_tsk(
TMO tmout TMO tmout __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,11 +22,11 @@
*/ */
ER twai_flg( ER twai_flg(
UINT *p_flgptn, UINT *p_flgptn __attribute__((unused)),
ID flgid, ID flgid __attribute__((unused)),
UINT waiptn, UINT waiptn __attribute__((unused)),
UINT wfmode, UINT wfmode __attribute__((unused)),
TMO tmout TMO tmout __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -22,10 +22,10 @@
*/ */
ER wai_flg( ER wai_flg(
UINT *p_flgptn, UINT *p_flgptn __attribute__((unused)),
ID flgid, ID flgid __attribute__((unused)),
UINT waiptn, UINT waiptn __attribute__((unused)),
UINT wfmode UINT wfmode __attribute__((unused))
) )
{ {
return E_OK; return E_OK;

View File

@@ -29,7 +29,7 @@
*/ */
ER wup_tsk( ER wup_tsk(
ID tskid ID tskid __attribute__((unused))
) )
{ {
return E_OK; return E_OK;