aboutsummaryrefslogtreecommitdiff
path: root/libexec/rbootd/rmpproto.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the following -Werror warning from clang 10.0.0 in rbootd:Dimitry Andric2020-01-281-1/+2
| | | | | | | | | | | libexec/rbootd/rmpproto.c:335:49: error: multiple unsequenced modifications to 'filename' [-Werror,-Wunsequenced] filename = (filename = strrchr(filepath,'/'))? ++filename: filepath; ~ ^ MFC after: 3 days Notes: svn path=/projects/clang1000-import/; revision=357222
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-171-5/+1
| | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* Rework all non-contributed files that use `struct timezone'.Ed Schouten2012-09-011-1/+1
| | | | | | | | | | | | | | | | | This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead. Notes: svn path=/head/; revision=239991
* Spelling fixes for libexec/Ulrich Spörlein2012-01-071-2/+2
| | | | Notes: svn path=/head/; revision=229780
* Include <netinet/in.h> for ntoh*() and hton*() prototypes.Stefan Farfeleder2004-05-241-0/+1
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=129652
* o __P removalWarner Losh2002-02-071-19/+7
| | | | | | | | o register removal o use new style prototypes and function definitions Notes: svn path=/head/; revision=90377
* L_SET -> SEEK_SETKris Kennaway2000-11-191-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=68895
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Remove no longer needed FreeBSD specific code.Steve Price1998-07-201-6/+1
| | | | | | | | | PR: 5497 Submitted by: Jacob Bohn Lorensen <jacob@jblhome.ping.mk> Obtained from: OpenBSD (indirectly it seems so just to be safe) Notes: svn path=/head/; revision=37769
* Add usage(), rcsids.Philippe Charnier1997-11-241-1/+4
| | | | Notes: svn path=/head/; revision=31386
* Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset,Steve Price1997-06-291-17/+17
| | | | | | | index -> strchr, and rindex -> strrchr. Notes: svn path=/head/; revision=27079
* Merge conflicts and make this compile -Wall clean.Steve Price1997-06-291-4/+2
| | | | Notes: svn path=/head/; revision=27077
* Import of NetBSD's rbootd version 19970629Steve Price1997-06-291-0/+602
Notes: svn path=/vendor/NetBSD/dist/; revision=27074