Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid "unused variable 'i'" warnings in generated .c files by only emitting | 2016-12-22 | 1 | -2/+3 | |
| | | | | | | | | | the "int i;" for non-opaque arrays. Opaque arrays use xdr_opaque() rather than iterating over the array. Eliminates another couple of dozen warnings from snap build output. ok deraadt@ millert@ | ||||
* | Add 'default:' cases to switch statements that gcc whines about. | 2016-12-20 | 1 | -1/+6 | |
| | | | | ok jung@ | ||||
* | Tweak generated .c output so switch statements always have a | 2016-12-20 | 1 | -4/+3 | |
| | | | | | | | | 'default:' case. Several hundred "not handled" warnings go away. ok deraadt@ | ||||
* | Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope | 2015-08-20 | 1 | -5/+5 | |
| | | | | ok krw millert | ||||
* | unsigned char for ctype | 2013-11-28 | 1 | -2/+2 | |
| | | | | ok krw okan | ||||
* | If a constant string needs a name, use a static const array instead of a | 2013-10-27 | 1 | -3/+3 | |
| | | | | | | | | pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. ok deraadt@ | ||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 1 | -2/+1 | |
| | | | | ok guenther millert kettenis | ||||
* | Oracle has re-licensed sunrpc under a three-clause BSD license. | 2010-09-01 | 1 | -25/+27 | |
| | | | | Update our sources appropriately. OK deraadt@ jsg@ | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -5/+1 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | Some -Wall cleanup to help fix other bugs. | 2007-10-03 | 1 | -2/+2 | |
| | | | | ok krw@ | ||||
* | Avoid generating an unused variable. From NetBSD. ok deraadt@ | 2004-07-16 | 1 | -4/+6 | |
| | |||||
* | delint | 2004-05-09 | 1 | -2/+1 | |
| | |||||
* | generate code that is much more ANSI and even KNF too | 2003-06-19 | 1 | -34/+38 | |
| | |||||
* | use strlcat | 2003-04-06 | 1 | -4/+7 | |
| | |||||
* | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | 2003-03-13 | 1 | -9/+13 | |
| | |||||
* | allocation mischecks by cloder@acm.org; lots of other cleanup by me | 2002-07-05 | 1 | -8/+22 | |
| | |||||
* | cleanups | 2002-06-01 | 1 | -73/+78 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -22/+22 | |
| | |||||
* | KNF, and remove part of the TLI garbage | 2001-12-05 | 1 | -83/+56 | |
| | |||||
* | argh! i messed something up! | 2001-11-24 | 1 | -50/+79 | |
| | |||||
* | half finished KNF | 2001-11-24 | 1 | -79/+50 | |
| | |||||
* | rpcgen is not nearly KNF, but it now generates close to KNF code | 2001-11-07 | 1 | -42/+43 | |
| | |||||
* | Uhmm, nope, this broke everything | 2001-07-18 | 1 | -52/+43 | |
| | |||||
* | -Wall cleanup; ok deraadt | 2001-07-17 | 1 | -43/+52 | |
| | |||||
* | s/inline/doinline/; christos | 1997-10-11 | 1 | -9/+9 | |
| | |||||
* | from netbsd; treat arrays used with XDR_INLINE as arrays of 'int32_t's, | 1996-12-10 | 1 | -9/+9 | |
| | | | | rather than arrays of 'long's. | ||||
* | rcsid | 1996-06-26 | 1 | -0/+1 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+743 | |