Ignore:
Timestamp:
2000-08-07T13:50:43+12:00 (24 years ago)
Author:
jrm21
Message:

Modified function decl.s from Classic C to Std. C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/lib/getopt.cpp

    r855 r1364  
    171171
    172172static char *
    173 my_index (str, chr)
    174      const char *str;
    175      int chr;
     173my_index (const char *str, int chr)
    176174{
    177175  while (*str)
     
    217215
    218216static void
    219 exchange (argv)
    220      char **argv;
     217exchange (char **argv)
    221218{
    222219  int bottom = first_nonopt;
     
    330327
    331328int
    332 _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
    333      int argc;
    334      char *const *argv;
    335      const char *optstring;
    336      const struct option *longopts;
    337      int *longind;
    338      int long_only;
     329_getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)
    339330{
    340331  int option_index;
     
    664655
    665656int
    666 getopt (argc, argv, optstring)
    667      int argc;
    668      char *const *argv;
    669      const char *optstring;
     657getopt (int argc, char *const *argv, const char *optstring)
    670658{
    671659  return _getopt_internal (argc, argv, optstring,
     
    684672
    685673int
    686 main (argc, argv)
    687      int argc;
    688      char **argv;
     674main (int argc, char **argv)
    689675{
    690676  int c;
Note: See TracChangeset for help on using the changeset viewer.