source: trunk/dports/devel/cmunge/files/returntypes.patch @ 122790

Last change on this file since 122790 was 122790, checked in by jmr@…, 5 years ago

cmunge: fix build

File size: 2.2 KB
  • src/ctran.c

    old new Symbol std_names [] = { 
    453453
    454454bool   file_exists (),  install_word ();
    455455unsigned   hash ();
     456void scan_file (FILE *ip_file);
     457void read_old_dict ();
     458void translate_file (FILE *ip_file, FILE *op_file);
    456459/*}}}*/
    457460
    458461/*{{{  main (argc, argv)*/
    init_keytab_and_std_nametab () 
    753756
    754757/*{{{  << 'ID dictionary' I/O >>*/
    755758/*{{{  read_old_dict ()*/
    756 read_old_dict ()
     759void read_old_dict ()
    757760/*------------*/
    758761{
    759762        register  char  *p;
    write_new_dict () 
    977980}
    978981/*}}}*/
    979982/*}}}*/
    980 
     983void lookup_or_install_word (char *word);
    981984/*{{{  scan_file (ip_file)*/
    982 scan_file (ip_file)
     985void scan_file (ip_file)
    983986/*---------------*/
    984987        FILE  *ip_file;
    985988/*----------------------------------------------------------------
    them expand to bare operators! *** 
    11541157
    11551158/*}}}*/
    11561159/*{{{  translate_file (ip_file, op_file)*/
    1157 translate_file (ip_file, op_file)
     1160void translate_file (ip_file, op_file)
    11581161/*-----------------------------*/
    11591162        FILE  *ip_file,  *op_file;
    11601163/*----------------------------------------------------------------
    bool install_word (word, val) 
    15501553}
    15511554/*}}}*/
    15521555/*{{{  lookup_or_install_word (word)*/
    1553 lookup_or_install_word (word)
     1556void lookup_or_install_word (word)
    15541557/*-------------------------*/
    15551558        char  *word;
    15561559/*--------------------------------------------------------------*/
  • src/proc-incl.c

    old new bool file_exists (), find_file (),  
    5252        replace_filename_by_tmp ();
    5353unsigned   hash ();
    5454int    fileval ();
     55void read_old_dict ();
     56void translate_file ();
    5557/*}}}*/
    5658
    5759/*{{{  main (argc, argv) -- OK*/
    abort : 
    238240
    239241/*{{{  << 'file dictionary' I/O >> -- OK*/
    240242/*{{{  read_old_dict () -- OK*/
    241 read_old_dict ()
     243void read_old_dict ()
    242244/*------------*/
    243245{
    244246        register  char  *p;
    write_new_dict () 
    323325/*}}}*/
    324326
    325327/*{{{  translate_file () -- OK*/
    326 translate_file ()
     328void translate_file ()
    327329/*-------------*/
    328330/*----------------------------------------------------------------
    329331        This function copies the input C file to output, performing
Note: See TracBrowser for help on using the repository browser.