Commit Graph

8 Commits

Author SHA1 Message Date
alfred
e6388323e9 back out 1.7 changes, unneeded and possibly wrong. 2005-02-10 10:44:29 +00:00
alfred
44d9bd3489 Modify rpcgen -t output to something that's a lot more useful in
today's modern "no sir, not today" compilers.

Basically, when building the table:

 use NULL instead of 0,
 use braces around array initializers,
 case the function pointers to xdrproc_t,
 don't cast function pointers that do not need casting.

MFC After: 1 week
2005-02-02 22:14:10 +00:00
charnier
26ad533edb Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,
xstrdup. There is a crash() function that do cleaning before exiting the
program. The new functions are wrappers that make use of crash() in case
of allocation failure. warn, exit -> err.

Reviewed by:	alfred
2002-07-21 12:55:04 +00:00
imp
1698cb216e remove __P 2002-03-22 01:33:25 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
charnier
4dfc83bbfa Use err(3), cosmetic in usage(), remove `cmdname'. 1997-08-06 06:47:41 +00:00
jkh
730964efd2 General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
wpaul
c4bda74e8a Import a newer and more functional version of rpcgen.
Obtained from: the Sun TI-RPC 2.3 source distribution
1995-12-13 03:21:09 +00:00