Changeset 60288f5 in buchla-68k for ram/enterit.c


Ignore:
Timestamp:
07/09/2017 12:23:40 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
6dd74a9
Parents:
0c834c5
Message:

Make function pointers more consistent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/enterit.c

    r0c834c5 r60288f5  
    4242extern  void    (*xy_up)(void);
    4343extern  void    (*xy_dn)(void);
    44 extern  void    (*not_fld)(short k);
     44extern  short   (*not_fld)(short k);
    4545extern  void    (*x_key)(void);
    4646extern  void    (*e_key)(void);
    4747extern  void    (*m_key)(void);
    48 extern  void    (*d_key)(void);
     48extern  void    (*d_key)(short k);
    4949extern  void    (*premove)(void);
    5050extern  void    (*pstmove)(void);
     
    120120*/
    121121
    122 short nokey(void)
    123 {
    124         return(FALSE);
     122void nokey(void)
     123{
     124}
     125
     126/*
     127
     128*/
     129
     130/*
     131   =============================================================================
     132        nodkey() -- null d_key function
     133   =============================================================================
     134*/
     135
     136void nodkey(short k)
     137{
     138}
     139
     140/*
     141
     142*/
     143
     144/*
     145   =============================================================================
     146        nonf() -- null non_fld function
     147   =============================================================================
     148*/
     149
     150short nonf(short k)
     151{
     152        return(SUCCESS);
     153}
     154
     155/*
     156
     157*/
     158
     159/*
     160   =============================================================================
     161        entbh() -- data entry box-hit function
     162   =============================================================================
     163*/
     164
     165short entbh(short n)
     166{
     167        enterit();
     168        return(SUCCESS);
    125169}
    126170
     
    504548*/
    505549
    506 void stddkey(void)
     550void stddkey(short k)
    507551{
    508552        if (infield(stcrow, stccol, curfet)) {
Note: See TracChangeset for help on using the changeset viewer.