Ben Laurie
9bde021a87
Fix clang warnings.
...
Note: these were actually bugs (printf with no format string).
Approved by: philip (mentor)
2011-05-18 20:52:52 +00:00
Xin LI
821df508e8
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
Xin LI
6f2d322192
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
David Malone
e390e3af7c
Use ANSI definitions.
...
Avoid using extern by declaring shared functions in header files.
Const poision.
2005-11-13 21:17:24 +00:00
Stefan Farfeleder
15df5e2d43
Don't generate K&R C code. The -C flag is kept for backwards compatibility.
...
Also remove the SIG_PF macro, there is no need to cast closedown.
2005-09-02 10:23:26 +00:00
Stefan Farfeleder
d0cc804bba
- Use prototypes in headers.
...
- Include rpc_scan.h before rpc_util.h for the tok_kind enum.
- Nuke unused declarations.
2005-08-31 20:45:15 +00:00
Stefan Farfeleder
63f1737128
Move #ident into #if 0.
2005-05-31 20:00:29 +00:00
Alfred Perlstein
ed5769e305
back out 1.7 changes, unneeded and possibly wrong.
2005-02-10 10:44:29 +00:00
Alfred Perlstein
7fe4c24002
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
Philippe Charnier
75863a6dbb
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
Warner Losh
d3cb5ded92
remove __P
2002-03-22 01:33:25 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
0e76f40d09
Use err(3), cosmetic in usage(), remove `cmdname'.
1997-08-06 06:47:41 +00:00
Jordan K. Hubbard
526195ad0d
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
Bill Paul
ee4f614e7e
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