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

Diff for /src/usr.bin/rpcgen/rpc_main.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:46:01 version 1.2, 1996/03/27 19:32:51
Line 1 
Line 1 
 /*      $NetBSD: rpc_main.c,v 1.8 1995/08/29 23:05:53 cgd Exp $ */  /*      $OpenBSD$       */
   /*      $NetBSD: rpc_main.c,v 1.9 1996/02/19 11:12:43 pk Exp $  */
 /*  /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for   * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
  * unrestricted use provided that this legend is included on all tape   * unrestricted use provided that this legend is included on all tape
Line 31 
Line 32 
   
 #ifndef lint  #ifndef lint
 static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";  static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
 static char cvsid[] = "$Id$";  static char cvsid[] = "$OpenBSD$";
 #endif  #endif
   
 /*  /*
  * rpc_main.c, Top level of the RPC protocol compiler.   * rpc_main.c, Top level of the RPC protocol compiler.
  */   */
   
   #define RPCGEN_VERSION  "199506"    /* This program's version (year & month) */
   
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
Line 533 
Line 536 
         f_print(fout,"#ifndef _%s\n#define _%s\n\n", guard,          f_print(fout,"#ifndef _%s\n#define _%s\n\n", guard,
                 guard);                  guard);
   
           f_print(fout, "#define RPCGEN_VERSION\t%s\n\n", RPCGEN_VERSION);
         f_print(fout, "#include <rpc/rpc.h>\n\n");          f_print(fout, "#include <rpc/rpc.h>\n\n");
   
         tell = ftell(fout);          tell = ftell(fout);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2