Changeset 0170798 in buchla-68k


Ignore:
Timestamp:
07/11/2017 05:46:49 PM (3 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
4d04f41
Parents:
7af8be4
Message:

Added last missing function pointer prototypes.

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • libcio/putc.c

    r7af8be4 r0170798  
    88#include "ram.h"
    99
    10 static int16_t (*cls_rtn)();
     10static void (*cls_rtn)(void);
    1111
    1212int16_t _ClFlag;
  • prolog/croot.c

    r7af8be4 r0170798  
    2121#define MAXARGS         30      /* maximum number of command line arguments */
    2222
    23 int16_t (*_clsall)();
     23void (*_clsall)(void);
    2424
    2525/*
  • prolog/croot.x

    r7af8be4 r0170798  
    1515*/
    1616
    17 extern  int16_t         (*_clsall)();
     17extern  void            (*_clsall)(void);
    1818
    1919/*
  • ram/swinit.c

    r7af8be4 r0170798  
    3535void    (*premove)(void);       /* cursor pre-move function */
    3636void    (*pstmove)(void);       /* cursor post-move function */
    37 void    (*vt_adv)(void);        /* vtyper data cursor advance function */
    38 void    (*vt_bsp)(void);        /* vtyper data cursor backspace function */
    39 void    (*vt_cdn)(void);        /* vtyper data cursor down function */
    40 void    (*vt_cup)(void);        /* vtyper data cursor up function */
    41 void    (*vt_dsp)(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
    42                                 /* vtyper display function */
    43 void    (*vt_stop)(void);       /* vtyper exit function */
     37vtcurs  vt_adv;                 /* vtyper data cursor advance function */
     38vtcurs  vt_bsp;                 /* vtyper data cursor backspace function */
     39vtcurs  vt_cdn;                 /* vtyper data cursor down function */
     40vtcurs  vt_cup;                 /* vtyper data cursor up function */
     41vtchar  vt_dsp;                 /* vtyper display function */
     42vtcurs  vt_stop;                /* vtyper exit function */
    4443void    (*x_key)(void);         /* X key processor */
    4544void    (*xy_dn)(void);         /* cursor - finger on (down) */
  • ram/vtyper.c

    r7af8be4 r0170798  
    4141*/
    4242
    43 void vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg)
     43void vtsetup(uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg)
    4444{
    4545        vtobj   = obj;          /* setup object pointer */
  • ram/vtyper.x

    r7af8be4 r0170798  
    88
    99#include "stdint.h"
     10
     11typedef void            (*vtchar)(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
     12typedef void            (*vtcurs)(void);
    1013
    1114/*
     
    2831extern  void            vtcyupd(void);
    2932extern  void            vtdisp(uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
    30 extern  void            vtsetup(uint16_t *obj, int16_t (*dsp)(), int16_t col, int8_t *ptr, int16_t tr, int16_t tc, int16_t (*adv)(), int16_t (*bsp)(), int16_t (*cup)(), int16_t (*cdn)(), int16_t (*stop)(), uint16_t fg, uint16_t bg);
     33extern  void            vtsetup(uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg);
    3134extern  int16_t         vtyper(void);
  • rom/romp.c

    r7af8be4 r0170798  
    119119
    120120        int8_t  *cname;         /* command name pointer */
    121         int16_t (*cp)();        /* command parser function pointer */
    122         int16_t (*cx)();        /* command execution function pointer */
     121        int16_t (*cp)(void);    /* command parser function pointer */
     122        int16_t (*cx)(void);    /* command execution function pointer */
    123123        int8_t  *hstr;          /* help string pointer */
    124124};
Note: See TracChangeset for help on using the changeset viewer.