aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/yp/xdryp.c
Commit message (Collapse)AuthorAgeFilesLines
* libc: Purge unneeded cdefs.hWarner Losh2023-11-011-1/+0
| | | | | | | | | These sys/cdefs.h are not needed. Purge them. They are mostly left-over from the $FreeBSD$ removal. A few in libc are still required for macros that cdefs.h defines. Keep those. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D42385
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* libc/yp: sort out warningsMateusz Guzik2023-03-161-1/+1
| | | | | | .. in least-effort manner Sponsored by: Rubicon Communications, LLC ("Netgate")
* libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-251-1/+3
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using mis-identified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326193
* Handle failures to malloc memory to hold key or val copies.Guy Helmer2011-12-231-0/+11
| | | | | | | PR: bin/83348 Notes: svn path=/head/; revision=228826
* Remove duplicate "in".Rebecca Cran2011-03-011-1/+1
| | | | | | | | Suggested by: Rob Farmer <rfarmer at predatorlabs.net> MFC after: 3 days Notes: svn path=/head/; revision=219126
* Revert some of r177626. "in in" is valid in certain sentences.Rebecca Cran2011-02-281-1/+1
| | | | | | | | PR: 121490 MFC after: 3 days Notes: svn path=/head/; revision=219096
* Fix some "in in" typos in comments.Christian Brueffer2008-03-261-1/+1
| | | | | | | | | | PR: 121490 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> Approved by: rwatson (mentor), jkoshy MFC after: 3 days Notes: svn path=/head/; revision=177626
* Spell void * as void * rather than caddr_t. This is complicated by theDag-Erling Smørgrav2002-04-281-5/+5
| | | | | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95658
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-3/+2
| | | | | | | I believe have made all of libc .c's as consistent as possible. Notes: svn path=/head/; revision=92986
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-061-6/+2
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90298
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-02-061-10/+10
| | | | | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week Notes: svn path=/head/; revision=90297
* Fix cc -Wall, fix rcsid warnings, add missing prototypes,Alfred Perlstein2002-02-051-1/+1
| | | | | | | | | | | | change prototypes to be the same as in the original sun tirpc code. Remove ()P macro in a file where the mayority had ()P already removed. Add them if the mayority use ()P macros. Submitted by: mbr Requested by: bde Notes: svn path=/head/; revision=90271
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Code clean up:James Raynard1996-06-031-1/+3
| | | | | | | Added missing headers for system functions. Notes: svn path=/head/; revision=16095
* Make sure xdr_ypresp_all_seq() always returns a sane 'status' value.Bill Paul1996-02-041-1/+3
| | | | | | | (There were cases where it was leaving the status uninitialized.) Notes: svn path=/head/; revision=13894
* Now that rpcgen is squared away, arrange to have all the NIS XDR routinesBill Paul1995-12-141-417/+23
| | | | | | | | | | | | | | | | | | rpcgen-erated on the fly (just like librpcsvc). Makefile: Add rule for generating yp_xdr.c and yp.h. xdryp.c: gut everything except the special ypresp_all XDR function needed to to handle yp_all() (this one can't be created on the fly), and xdr_datum(), which isn't used internally by libc, but which as documented as being there in yp_prot.h, so what the hell. We now get everything else from yp_xdr.c. yplib.c: change a few structure member names to match those found in yp.h instead of those declared in yp_prot.h. Notes: svn path=/head/; revision=12816
* Fix xdr_ypmap_parms() so that it agrees with xdr_domainname(), xdr_peername()Bill Paul1995-04-021-4/+4
| | | | | | | and friends. Notes: svn path=/head/; revision=7597
* Add some missing xdr functions needed for server-side implementations.Bill Paul1995-04-021-1/+116
| | | | | | | | (This is to help me reduce yppush a bit: it has its own copy of yp_xdr.c right now, but I can get rid of it now that this stuff is here.) Notes: svn path=/head/; revision=7573
* Add back in the YP code from 1.1.5. (This attribution brought to youGarrett Wollman1994-08-071-0/+394
by Theo de Raadt.) Added a new make flag variable, NO_YP_LIBC, which disables YP entirely. User-land programs to come later. Notes: svn path=/head/; revision=1919