[BACK]Return to rpc_parse.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rpcgen

Diff for /src/usr.bin/rpcgen/rpc_parse.c between version 1.3 and 1.4

version 1.3, 2001/07/17 02:23:59 version 1.4, 2001/07/18 22:26:00
Line 48 
Line 48 
   
 #define ARGNAME "arg"  #define ARGNAME "arg"
   
 static void isdefined __P((definition *));  static isdefined __P((definition *));
 static void def_struct __P((definition *));  static def_struct __P((definition *));
 static void def_program __P((definition *));  static def_program __P((definition *));
 static void def_enum __P((definition *));  static def_enum __P((definition *));
 static void def_const __P((definition *));  static def_const __P((definition *));
 static void def_union __P((definition *));  static def_union __P((definition *));
 static void def_typedef __P((definition *));  static def_typedef __P((definition *));
 static void get_declaration __P((declaration *, defkind));  static get_declaration __P((declaration *, defkind));
 static void get_prog_declaration __P((declaration *, defkind, int));  static get_prog_declaration __P((declaration *, defkind, int));
 static void get_type __P((char **, char **, defkind));  static get_type __P((char **, char **, defkind));
 static void unsigned_dec __P((char **));  static unsigned_dec __P((char **));
   
 /*  /*
  * return the next definition you see   * return the next definition you see
Line 100 
Line 100 
         return (defp);          return (defp);
 }  }
   
 static void  static
 isdefined(defp)  isdefined(defp)
         definition *defp;          definition *defp;
 {  {
         STOREVAL(&defined, defp);          STOREVAL(&defined, defp);
 }  }
   
 static void  static
 def_struct(defp)  def_struct(defp)
         definition *defp;          definition *defp;
 {  {
Line 135 
Line 135 
         *tailp = NULL;          *tailp = NULL;
 }  }
   
 static void  static
 def_program(defp)  def_program(defp)
         definition *defp;          definition *defp;
 {  {
Line 241 
Line 241 
 }  }
   
   
 static void  static
 def_enum(defp)  def_enum(defp)
         definition *defp;          definition *defp;
 {  {
Line 271 
Line 271 
         *tailp = NULL;          *tailp = NULL;
 }  }
   
 static void  static
 def_const(defp)  def_const(defp)
         definition *defp;          definition *defp;
 {  {
Line 285 
Line 285 
         defp->def.co = tok.str;          defp->def.co = tok.str;
 }  }
   
 static void  static
 def_union(defp)  def_union(defp)
         definition *defp;          definition *defp;
 {  {
   token tok;    token tok;
   declaration dec;    declaration dec;
   case_list *cases;    case_list *cases,*tcase;
   case_list **tailp;    case_list **tailp;
   int flag;    int flag;
   
Line 383 
Line 383 
   
 /* check that the given name is not one that would eventually result in  /* check that the given name is not one that would eventually result in
    xdr routines that would conflict with internal XDR routines. */     xdr routines that would conflict with internal XDR routines. */
 static void  static check_type_name( name, new_type )
 check_type_name( name, new_type )  int new_type;
         int new_type;  char* name;
         char* name;  
 {  {
   int i;    int i;
   char tmp[100];    char tmp[100];
Line 409 
Line 408 
   }    }
 }  }
   
 static void  static
 def_typedef(defp)  def_typedef(defp)
         definition *defp;          definition *defp;
 {  {
Line 425 
Line 424 
         defp->def.ty.array_max = dec.array_max;          defp->def.ty.array_max = dec.array_max;
 }  }
   
 static void  static
 get_declaration(dec, dkind)  get_declaration(dec, dkind)
         declaration *dec;          declaration *dec;
         defkind dkind;          defkind dkind;
Line 478 
Line 477 
         }          }
 }  }
   
 static void  static
 get_prog_declaration(dec, dkind, num)  get_prog_declaration(dec, dkind, num)
         declaration *dec;          declaration *dec;
         defkind dkind;          defkind dkind;
Line 547 
Line 546 
   
   
   
 static void  static
 get_type(prefixp, typep, dkind)  get_type(prefixp, typep, dkind)
         char **prefixp;          char **prefixp;
         char **typep;          char **typep;
Line 599 
Line 598 
         }          }
 }  }
   
 static void  static
 unsigned_dec(typep)  unsigned_dec(typep)
         char **typep;          char **typep;
 {  {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4