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

Diff for /src/usr.bin/rpcgen/rpc_tblout.c between version 1.14 and 1.15

version 1.14, 2012/12/05 23:20:26 version 1.15, 2013/10/27 18:31:24
Line 47 
Line 47 
   
 static char tabstr[TABCOUNT+1] = "\t\t\t\t\t";  static char tabstr[TABCOUNT+1] = "\t\t\t\t\t";
   
 static char tbl_hdr[] = "struct rpcgen_table %s_table[] = {\n";  static const char tbl_hdr[] = "struct rpcgen_table %s_table[] = {\n";
 static char tbl_end[] = "};\n";  static const char tbl_end[] = "};\n";
   
 static char null_entry[] = "\n\t(char *(*)())0,\n\  static const char null_entry[] = "\n\t(char *(*)())0,\n\
 \t(xdrproc_t) xdr_void,\t\t\t0,\n\  \t(xdrproc_t) xdr_void,\t\t\t0,\n\
 \t(xdrproc_t) xdr_void,\t\t\t0,\n";  \t(xdrproc_t) xdr_void,\t\t\t0,\n";
   
 static char tbl_nproc[] = "int %s_nproc =\n\tsizeof(%s_table)/sizeof(%s_table[0]);\n\n";  static const char tbl_nproc[] = "int %s_nproc =\n\tsizeof(%s_table)/sizeof(%s_table[0]);\n\n";
   
 static void write_table(definition *);  static void write_table(definition *);
 static void printit(char *, char *);  static void printit(char *, char *);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15