araujo
fafebceb9b
Staticfy and constify some variables and clean up the code a bit to make it
...
more readable. No functional change.
Differential Revision: D3166
Reviewed by: kib
Sponsored by: gandi.net
2015-07-28 02:32:40 +00:00
delphij
0842b7d53f
Revert most part of 200420 as requested, as more review and polish is
...
needed.
2009-12-13 03:14:06 +00:00
delphij
b963db4652
Remove unneeded header includes from usr.bin/ except contributed code.
...
Tested with: make universe
2009-12-11 23:35:38 +00:00
brian
804f2f79ee
Support shadow.byname and shadow.byuid maps, protecting them by
...
insisting on privileged port access.
Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.
Approved by: re (kib)
MFC after: 3 weeks
2009-06-25 16:15:39 +00:00
ru
0491ba1f63
Sync program's usage() with manpage's SYNOPSIS.
2005-05-21 09:55:10 +00:00
peter
a799821e85
Stop gcc warnings
2003-10-26 05:28:01 +00:00
des
0f2cb9b020
Apply the following mechanical transformations in preparation for
...
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
2002-02-06 13:30:31 +00:00
markm
acf06cc72a
WARNS=2 fixes
...
__FBSDID() additions
some include file sorting.
Some Makefile sorting.
WARNS?=2 is not added to the Makefile, because it is going to be
default for usr.bin/
NO_WERROR is set because there are rpc*.h file issues.
2001-12-11 22:08:58 +00:00
dd
dc0185a459
Include missing header files which define functions for which gcc has
...
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
jb
0c290fd53e
Add #include <string.h> to get prototypes.
1998-02-20 04:33:03 +00:00
charnier
e94e60b6cd
Use err(3). Add Xreferences. Delay the compute of default domain.
...
Obtained from: OpenBSD
1997-08-29 11:52:52 +00:00
peter
a6c3d5ca85
Add an alias for master.passwd -> master.passwd.byname to the list
...
of convenience map aliases.
1997-07-12 14:34:26 +00:00
tegge
588fb5df8a
Treat no match as a failure. This is the normal behaviour on SunOS.
1997-06-25 21:02:12 +00:00
wpaul
1b63b57e4b
Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
...
Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.
1995-03-25 23:26:54 +00:00
wollman
bf39175a9e
Move more YP user programs over.
1994-08-08 01:13:35 +00:00