svn commit: r227151 - in head/sys: conf kern

2011-11-06 Thread Max Khon
Author: fjoe Date: Sun Nov 6 08:10:41 2011 New Revision: 227151 URL: http://svn.freebsd.org/changeset/base/227151 Log: Add KLD_DEBUG option. Modified: head/sys/conf/options head/sys/kern/kern_linker.c Modified: head/sys/conf/options

svn commit: r227152 - head/usr.bin/banner

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:13:51 2011 New Revision: 227152 URL: http://svn.freebsd.org/changeset/base/227152 Log: Add missing static keywords to banner(1) Modified: head/usr.bin/banner/banner.c Modified: head/usr.bin/banner/banner.c ===

svn commit: r227153 - head/usr.bin/c99

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:13:58 2011 New Revision: 227153 URL: http://svn.freebsd.org/changeset/base/227153 Log: Add missing static keywords to c99(1) Modified: head/usr.bin/c99/c99.c Modified: head/usr.bin/c99/c99.c ==

svn commit: r227154 - head/usr.bin/cap_mkdb

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:03 2011 New Revision: 227154 URL: http://svn.freebsd.org/changeset/base/227154 Log: Add missing static keywords to cap_mkdb(1) Modified: head/usr.bin/cap_mkdb/cap_mkdb.c Modified: head/usr.bin/cap_mkdb/cap_mkdb.c =

svn commit: r227157 - head/usr.bin/col

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:22 2011 New Revision: 227157 URL: http://svn.freebsd.org/changeset/base/227157 Log: Add missing static keywords to col(1) Modified: head/usr.bin/col/col.c Modified: head/usr.bin/col/col.c ==

svn commit: r227158 - head/usr.bin/colcrt

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:28 2011 New Revision: 227158 URL: http://svn.freebsd.org/changeset/base/227158 Log: Add missing static keywords to colcrt(1) Modified: head/usr.bin/colcrt/colcrt.c Modified: head/usr.bin/colcrt/colcrt.c ===

svn commit: r227159 - head/usr.bin/column

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:34 2011 New Revision: 227159 URL: http://svn.freebsd.org/changeset/base/227159 Log: Add missing static keywords to column(1) Modified: head/usr.bin/column/column.c Modified: head/usr.bin/column/column.c ===

svn commit: r227161 - head/usr.bin/csplit

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:45 2011 New Revision: 227161 URL: http://svn.freebsd.org/changeset/base/227161 Log: Add missing static keywords to csplit(1) Modified: head/usr.bin/csplit/csplit.c Modified: head/usr.bin/csplit/csplit.c ===

svn commit: r227155 - head/usr.bin/catman

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:09 2011 New Revision: 227155 URL: http://svn.freebsd.org/changeset/base/227155 Log: Add missing static keywords to catman(1) Modified: head/usr.bin/catman/catman.c Modified: head/usr.bin/catman/catman.c ===

svn commit: r227156 - head/usr.bin/cmp

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:16 2011 New Revision: 227156 URL: http://svn.freebsd.org/changeset/base/227156 Log: Add missing static keywords to cmp(1) Modified: head/usr.bin/cmp/extern.h Modified: head/usr.bin/cmp/extern.h

svn commit: r227160 - head/usr.bin/cpuset

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:40 2011 New Revision: 227160 URL: http://svn.freebsd.org/changeset/base/227160 Log: Add missing static keywords to cpuset(1) Modified: head/usr.bin/cpuset/cpuset.c Modified: head/usr.bin/cpuset/cpuset.c ===

svn commit: r227162 - head/usr.bin/cut

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:51 2011 New Revision: 227162 URL: http://svn.freebsd.org/changeset/base/227162 Log: Add missing static keywords to cut(1) Modified: head/usr.bin/cut/cut.c Modified: head/usr.bin/cut/cut.c ==

svn commit: r227163 - head/usr.bin/dc

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:14:57 2011 New Revision: 227163 URL: http://svn.freebsd.org/changeset/base/227163 Log: Add missing static keywords to dc(1) Modified: head/usr.bin/dc/dc.c Modified: head/usr.bin/dc/dc.c ===

svn commit: r227164 - head/usr.bin/du

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:17 2011 New Revision: 227164 URL: http://svn.freebsd.org/changeset/base/227164 Log: Add missing static keywords to du(1) Modified: head/usr.bin/du/du.c Modified: head/usr.bin/du/du.c ===

svn commit: r227166 - head/usr.bin/id

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:30 2011 New Revision: 227166 URL: http://svn.freebsd.org/changeset/base/227166 Log: Add missing static keywords to id(1) Modified: head/usr.bin/id/id.c Modified: head/usr.bin/id/id.c ===

svn commit: r227167 - head/usr.bin/join

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:35 2011 New Revision: 227167 URL: http://svn.freebsd.org/changeset/base/227167 Log: Add missing static keywords to join(1) Modified: head/usr.bin/join/join.c Modified: head/usr.bin/join/join.c =

svn commit: r227175 - head/usr.bin/pr

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:24 2011 New Revision: 227175 URL: http://svn.freebsd.org/changeset/base/227175 Log: Add missing static keywords to pr(1) Modified: head/usr.bin/pr/extern.h head/usr.bin/pr/pr.c Modified: head/usr.bin/pr/extern.h

svn commit: r227165 - head/usr.bin/fold

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:23 2011 New Revision: 227165 URL: http://svn.freebsd.org/changeset/base/227165 Log: Add missing static keywords to fold(1) Modified: head/usr.bin/fold/fold.c Modified: head/usr.bin/fold/fold.c =

svn commit: r227168 - head/usr.bin/last

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:41 2011 New Revision: 227168 URL: http://svn.freebsd.org/changeset/base/227168 Log: Add missing static keywords to last(1) Modified: head/usr.bin/last/last.c Modified: head/usr.bin/last/last.c =

svn commit: r227169 - head/usr.bin/lock

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:48 2011 New Revision: 227169 URL: http://svn.freebsd.org/changeset/base/227169 Log: Add missing static keywords to lock(1) Modified: head/usr.bin/lock/lock.c Modified: head/usr.bin/lock/lock.c =

svn commit: r227170 - head/usr.bin/logger

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:53 2011 New Revision: 227170 URL: http://svn.freebsd.org/changeset/base/227170 Log: Add missing static keywords to logger(1) Modified: head/usr.bin/logger/logger.c Modified: head/usr.bin/logger/logger.c ===

svn commit: r227171 - head/usr.bin/look

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:15:59 2011 New Revision: 227171 URL: http://svn.freebsd.org/changeset/base/227171 Log: Add missing static keywords to look(1) Modified: head/usr.bin/look/look.c Modified: head/usr.bin/look/look.c =

svn commit: r227172 - head/usr.bin/make

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:06 2011 New Revision: 227172 URL: http://svn.freebsd.org/changeset/base/227172 Log: Add missing static keywords to make(1) Modified: head/usr.bin/make/globals.h Modified: head/usr.bin/make/globals.h ===

svn commit: r227173 - head/usr.bin/ministat

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:11 2011 New Revision: 227173 URL: http://svn.freebsd.org/changeset/base/227173 Log: Add missing static keywords to ministat(1) Modified: head/usr.bin/ministat/ministat.c Modified: head/usr.bin/ministat/ministat.c =

svn commit: r227174 - head/usr.bin/mt

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:18 2011 New Revision: 227174 URL: http://svn.freebsd.org/changeset/base/227174 Log: Add missing static keywords to mt(1) Modified: head/usr.bin/mt/mt.c Modified: head/usr.bin/mt/mt.c ===

svn commit: r227185 - head/usr.bin/talk

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:23 2011 New Revision: 227185 URL: http://svn.freebsd.org/changeset/base/227185 Log: Add missing static keywords to talk(1) Modified: head/usr.bin/talk/ctl.c head/usr.bin/talk/init_disp.c head/usr.bin/talk/invite.c head/usr.bin/talk/talk.h Modified: hea

svn commit: r227184 - head/usr.bin/tail

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:17 2011 New Revision: 227184 URL: http://svn.freebsd.org/changeset/base/227184 Log: Add missing static keywords to tail(1) Modified: head/usr.bin/tail/forward.c head/usr.bin/tail/tail.c Modified: head/usr.bin/tail/forward.c

svn commit: r227187 - head/usr.bin/tee

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:35 2011 New Revision: 227187 URL: http://svn.freebsd.org/changeset/base/227187 Log: Add missing static keywords to tee(1) Modified: head/usr.bin/tee/tee.c Modified: head/usr.bin/tee/tee.c ==

svn commit: r227189 - head/usr.bin/tsort

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:47 2011 New Revision: 227189 URL: http://svn.freebsd.org/changeset/base/227189 Log: Add missing static keywords to tsort(1) Modified: head/usr.bin/tsort/tsort.c Modified: head/usr.bin/tsort/tsort.c

svn commit: r227190 - head/usr.bin/ul

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:53 2011 New Revision: 227190 URL: http://svn.freebsd.org/changeset/base/227190 Log: Add missing static keywords to ul(1) Modified: head/usr.bin/ul/ul.c Modified: head/usr.bin/ul/ul.c ===

svn commit: r227202 - head/usr.bin/xinstall

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:19:07 2011 New Revision: 227202 URL: http://svn.freebsd.org/changeset/base/227202 Log: Add missing static keywords to xinstall(1) Modified: head/usr.bin/xinstall/xinstall.c Modified: head/usr.bin/xinstall/xinstall.c =

svn commit: r227176 - head/usr.bin/quota

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:29 2011 New Revision: 227176 URL: http://svn.freebsd.org/changeset/base/227176 Log: Add missing static keywords to quota(1) Modified: head/usr.bin/quota/quota.c Modified: head/usr.bin/quota/quota.c

svn commit: r227177 - head/usr.bin/rs

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:35 2011 New Revision: 227177 URL: http://svn.freebsd.org/changeset/base/227177 Log: Add missing static keywords to rs(1) Modified: head/usr.bin/rs/rs.c Modified: head/usr.bin/rs/rs.c ===

svn commit: r227178 - head/usr.bin/ruptime

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:41 2011 New Revision: 227178 URL: http://svn.freebsd.org/changeset/base/227178 Log: Add missing static keywords to ruptime(1) Modified: head/usr.bin/ruptime/ruptime.c Modified: head/usr.bin/ruptime/ruptime.c ==

svn commit: r227179 - head/usr.bin/rusers

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:47 2011 New Revision: 227179 URL: http://svn.freebsd.org/changeset/base/227179 Log: Add missing static keywords to rusers(1) Modified: head/usr.bin/rusers/rusers.c Modified: head/usr.bin/rusers/rusers.c ===

svn commit: r227180 - head/usr.bin/rwall

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:53 2011 New Revision: 227180 URL: http://svn.freebsd.org/changeset/base/227180 Log: Add missing static keywords to rwall(1) Modified: head/usr.bin/rwall/rwall.c Modified: head/usr.bin/rwall/rwall.c

svn commit: r227181 - head/usr.bin/rwho

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:16:59 2011 New Revision: 227181 URL: http://svn.freebsd.org/changeset/base/227181 Log: Add missing static keywords to rwho(1) Modified: head/usr.bin/rwho/rwho.c Modified: head/usr.bin/rwho/rwho.c =

svn commit: r227182 - head/usr.bin/seq

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:05 2011 New Revision: 227182 URL: http://svn.freebsd.org/changeset/base/227182 Log: Add missing static keywords to seq(1) Modified: head/usr.bin/seq/seq.c Modified: head/usr.bin/seq/seq.c ==

svn commit: r227183 - head/usr.bin/split

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:11 2011 New Revision: 227183 URL: http://svn.freebsd.org/changeset/base/227183 Log: Add missing static keywords to split(1) Modified: head/usr.bin/split/split.c Modified: head/usr.bin/split/split.c

svn commit: r227186 - head/usr.bin/tcopy

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:29 2011 New Revision: 227186 URL: http://svn.freebsd.org/changeset/base/227186 Log: Add missing static keywords to tcopy(1) Modified: head/usr.bin/tcopy/tcopy.c Modified: head/usr.bin/tcopy/tcopy.c

svn commit: r227188 - head/usr.bin/tr

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:42 2011 New Revision: 227188 URL: http://svn.freebsd.org/changeset/base/227188 Log: Add missing static keywords to tr(1) Modified: head/usr.bin/tr/tr.c Modified: head/usr.bin/tr/tr.c ===

svn commit: r227191 - head/usr.bin/uname

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:17:59 2011 New Revision: 227191 URL: http://svn.freebsd.org/changeset/base/227191 Log: Add missing static keywords to uname(1) Modified: head/usr.bin/uname/uname.c Modified: head/usr.bin/uname/uname.c

svn commit: r227193 - head/usr.bin/uniq

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:11 2011 New Revision: 227193 URL: http://svn.freebsd.org/changeset/base/227193 Log: Add missing static keywords to uniq(1) Modified: head/usr.bin/uniq/uniq.c Modified: head/usr.bin/uniq/uniq.c =

svn commit: r227192 - head/usr.bin/unexpand

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:05 2011 New Revision: 227192 URL: http://svn.freebsd.org/changeset/base/227192 Log: Add missing static keywords to unexpand(1) Modified: head/usr.bin/unexpand/unexpand.c Modified: head/usr.bin/unexpand/unexpand.c =

svn commit: r227194 - head/usr.bin/units

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:17 2011 New Revision: 227194 URL: http://svn.freebsd.org/changeset/base/227194 Log: Add missing static keywords to units(1) Modified: head/usr.bin/units/units.c Modified: head/usr.bin/units/units.c

svn commit: r227195 - head/usr.bin/usbhidaction

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:23 2011 New Revision: 227195 URL: http://svn.freebsd.org/changeset/base/227195 Log: Add missing static keywords to usbhidaction(1) Modified: head/usr.bin/usbhidaction/usbhidaction.c Modified: head/usr.bin/usbhidaction/usbhidaction.c =

svn commit: r227197 - head/usr.bin/uuencode

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:35 2011 New Revision: 227197 URL: http://svn.freebsd.org/changeset/base/227197 Log: Add missing static keywords to uuencode(1) Modified: head/usr.bin/uuencode/uuencode.c Modified: head/usr.bin/uuencode/uuencode.c =

svn commit: r227196 - head/usr.bin/usbhidctl

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:30 2011 New Revision: 227196 URL: http://svn.freebsd.org/changeset/base/227196 Log: Add missing static keywords to usbhidctl(1) Modified: head/usr.bin/usbhidctl/usbhid.c Modified: head/usr.bin/usbhidctl/usbhid.c ==

svn commit: r227198 - head/usr.bin/vis

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:42 2011 New Revision: 227198 URL: http://svn.freebsd.org/changeset/base/227198 Log: Add missing static keywords to vis(1) Modified: head/usr.bin/vis/vis.c Modified: head/usr.bin/vis/vis.c ==

svn commit: r227199 - head/usr.bin/w

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:47 2011 New Revision: 227199 URL: http://svn.freebsd.org/changeset/base/227199 Log: Add missing static keywords to w(1) Modified: head/usr.bin/w/w.c Modified: head/usr.bin/w/w.c == -

svn commit: r227200 - head/usr.bin/wall

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:18:55 2011 New Revision: 227200 URL: http://svn.freebsd.org/changeset/base/227200 Log: Add missing static keywords to wall(1) Modified: head/usr.bin/wall/wall.c Modified: head/usr.bin/wall/wall.c =

svn commit: r227201 - head/usr.bin/wc

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 08:19:00 2011 New Revision: 227201 URL: http://svn.freebsd.org/changeset/base/227201 Log: Add missing static keywords to wc(1) Modified: head/usr.bin/wc/wc.c Modified: head/usr.bin/wc/wc.c ===

svn commit: r227203 - head/usr.bin/id

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 09:09:45 2011 New Revision: 227203 URL: http://svn.freebsd.org/changeset/base/227203 Log: Correct the change made in r227166. This function is only compiled in when building WITH_AUDIT. Modified: head/usr.bin/id/id.c Modified: head/usr.bin/id/id.c ===

Re: svn commit: r227156 - head/usr.bin/cmp

2011-11-06 Thread Peter Jeremy
On 2011-Nov-06 08:14:16 +, Ed Schouten wrote: >Log: > Add missing static keywords to cmp(1) > >Modified: > head/usr.bin/cmp/extern.h > >Modified: head/usr.bin/cmp/extern.h >== >--- head/usr.bin/cmp/extern.h Sun Nov

svn commit: r227204 - head/sys/netinet

2011-11-06 Thread Mikolaj Golub
Author: trociny Date: Sun Nov 6 09:17:48 2011 New Revision: 227204 URL: http://svn.freebsd.org/changeset/base/227204 Log: Fix the typo made in r157474. MFC after:3 days Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c =

svn commit: r227206 - head/sys/netinet6

2011-11-06 Thread Mikolaj Golub
Author: trociny Date: Sun Nov 6 09:29:52 2011 New Revision: 227206 URL: http://svn.freebsd.org/changeset/base/227206 Log: Before dereferencing intotw() check for NULL, the same way as it is done for in_pcb (see r157474). MFC after:1 week Modified: head/sys/netinet6/in6_pcb.c Modi

Re: svn commit: r227156 - head/usr.bin/cmp

2011-11-06 Thread Ed Schouten
* Peter Jeremy , 2006 10:10: > That's an interesting spelling of "static". I presume this is a > general cleanup of identifier visibility to prevent unexpected > aliasing - in which case a more general log message may have nicer. Yes, sorry about that. When I

svn commit: r227207 - in head/sys: netinet netinet6

2011-11-06 Thread Mikolaj Golub
Author: trociny Date: Sun Nov 6 10:47:20 2011 New Revision: 227207 URL: http://svn.freebsd.org/changeset/base/227207 Log: Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid inp_socket->so_options dereference when we may not acquire the lock on the inpcb. This fixes the c

Re: svn commit: r227207 - in head/sys: netinet netinet6

2011-11-06 Thread Mikolaj Golub
On Sun, 6 Nov 2011 10:47:20 + (UTC) Mikolaj Golub wrote: MG> Author: trociny MG> Date: Sun Nov 6 10:47:20 2011 MG> New Revision: 227207 MG> URL: http://svn.freebsd.org/changeset/base/227207 MG> Log: MG> Cache SO_REUSEPORT socket option in inpcb-layer in order to avoid MG> inp_soc

svn commit: r227214 - head

2011-11-06 Thread Antoine Brodin
Author: antoine Date: Sun Nov 6 14:00:18 2011 New Revision: 227214 URL: http://svn.freebsd.org/changeset/base/227214 Log: Add more obsolete files. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r227215 - in head: gnu/lib/libstdc++ lib/clang/include/llvm/Config

2011-11-06 Thread Dimitry Andric
Author: dim Date: Sun Nov 6 14:07:23 2011 New Revision: 227215 URL: http://svn.freebsd.org/changeset/base/227215 Log: When one attempts to compile the tree with -march=i386, which also used to be gcc's default before r198344, calls to atomic builtins will not be expanded inline. Instead, t

svn commit: r227221 - head/usr.sbin/timed/timed

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:37:15 2011 New Revision: 227221 URL: http://svn.freebsd.org/changeset/base/227221 Log: Simplify inclusion of the tsptype array a bit. We don't need this array in timed.c -- only readmsg.c. Modified: head/usr.sbin/timed/timed/readmsg.c head/usr.sbin/timed/

svn commit: r227223 - head/usr.sbin/chroot

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:40:17 2011 New Revision: 227223 URL: http://svn.freebsd.org/changeset/base/227223 Log: Eliminate global variables. There is no reason why these three variables should be declared as global variables, while the others aren't. They are only used inside main(

svn commit: r227224 - head/usr.sbin/mptable

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:47:50 2011 New Revision: 227224 URL: http://svn.freebsd.org/changeset/base/227224 Log: Mark all global variables static for mptable(1). While there, remove basetableEntryTypes, which became unused in r71209. Modified: head/usr.sbin/mptable/mptable.c Modifi

svn commit: r227225 - head/usr.sbin/cdcontrol

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 16:52:26 2011 New Revision: 227225 URL: http://svn.freebsd.org/changeset/base/227225 Log: Make all functions and global variables static for cdcontrol(8). While there, replace __const by const, which seems to be our preference nowadays. Also fix some style(9) b

svn commit: r227228 - head/usr.bin/chpass

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 17:20:44 2011 New Revision: 227228 URL: http://svn.freebsd.org/changeset/base/227228 Log: Mark the structure fields as const. This allows us to simply place these strings as constants in the table itself, letting the compiler decide to simply merge duplicate st

svn commit: r227231 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 17:30:32 2011 New Revision: 227231 URL: http://svn.freebsd.org/changeset/base/227231 Log: To be in sync with GEOM_PART_BSD limit the maximum number of supported partitions to 20. MFC after:1 week Modified: head/sbin/bsdlabel/bsdlabel.c Modified: head/sb

svn commit: r227233 - head/usr.bin/at

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 17:32:29 2011 New Revision: 227233 URL: http://svn.freebsd.org/changeset/base/227233 Log: Add missing static keywords to at(1). While there, tidy up the privs.h part, where at.c has to #define to declare some globals. Also group static and non-static global var

svn commit: r227234 - head/usr.bin/checknr

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:03 2011 New Revision: 227234 URL: http://svn.freebsd.org/changeset/base/227234 Log: Mark global functions and/or variables in checknr(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/c

svn commit: r227235 - head/usr.bin/comm

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:10 2011 New Revision: 227235 URL: http://svn.freebsd.org/changeset/base/227235 Log: Mark global functions and/or variables in comm(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/comm

svn commit: r227236 - head/usr.bin/compress

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:16 2011 New Revision: 227236 URL: http://svn.freebsd.org/changeset/base/227236 Log: Mark global functions and/or variables in compress(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/

svn commit: r227237 - head/usr.bin/enigma

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:23 2011 New Revision: 227237 URL: http://svn.freebsd.org/changeset/base/227237 Log: Mark global functions and/or variables in enigma(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/en

svn commit: r227238 - head/usr.bin/expand

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:30 2011 New Revision: 227238 URL: http://svn.freebsd.org/changeset/base/227238 Log: Mark global functions and/or variables in expand(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/ex

svn commit: r227239 - head/usr.bin/fstat

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:36 2011 New Revision: 227239 URL: http://svn.freebsd.org/changeset/base/227239 Log: Mark global functions and/or variables in fstat(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/fst

svn commit: r227240 - head/usr.bin/lam

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:41 2011 New Revision: 227240 URL: http://svn.freebsd.org/changeset/base/227240 Log: Mark global functions and/or variables in lam(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/lam/l

svn commit: r227241 - head/usr.bin/m4

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:48 2011 New Revision: 227241 URL: http://svn.freebsd.org/changeset/base/227241 Log: Mark global functions and/or variables in m4(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/m4/gnu

svn commit: r227242 - head/usr.bin/paste

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:49:53 2011 New Revision: 227242 URL: http://svn.freebsd.org/changeset/base/227242 Log: Mark global functions and/or variables in paste(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/pas

svn commit: r227243 - head/usr.bin/unifdef

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:00 2011 New Revision: 227243 URL: http://svn.freebsd.org/changeset/base/227243 Log: Mark global functions and/or variables in unifdef(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/u

svn commit: r227244 - head/usr.bin/whereis

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:19 2011 New Revision: 227244 URL: http://svn.freebsd.org/changeset/base/227244 Log: Mark global functions and/or variables in whereis(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/w

svn commit: r227245 - head/usr.bin/which

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:26 2011 New Revision: 227245 URL: http://svn.freebsd.org/changeset/base/227245 Log: Mark global functions and/or variables in which(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/whi

svn commit: r227246 - head/usr.bin/whois

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:33 2011 New Revision: 227246 URL: http://svn.freebsd.org/changeset/base/227246 Log: Mark global functions and/or variables in whois(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/who

svn commit: r227247 - head/usr.bin/xstr

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 18:50:39 2011 New Revision: 227247 URL: http://svn.freebsd.org/changeset/base/227247 Log: Mark global functions and/or variables in xstr(1) static where possible. This allows compilers and static analyzers to more thorough analysis. Modified: head/usr.bin/xstr

svn commit: r227248 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 18:59:42 2011 New Revision: 227248 URL: http://svn.freebsd.org/changeset/base/227248 Log: bsdlabel(8) could automatically fill many of disklabel's deprecated fields, but user could specify some of those fields when edits disklabel with `bsdlabel -e`. But without -

svn commit: r227249 - head/usr.sbin/apm

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:30 2011 New Revision: 227249 URL: http://svn.freebsd.org/changeset/base/227249 Log: Mark global functions and/or variables in apm(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin/a

svn commit: r227250 - head/usr.sbin/boot0cfg

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:35 2011 New Revision: 227250 URL: http://svn.freebsd.org/changeset/base/227250 Log: Mark global functions and/or variables in boot0cfg(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.s

svn commit: r227252 - head/usr.sbin/devinfo

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:48 2011 New Revision: 227252 URL: http://svn.freebsd.org/changeset/base/227252 Log: Mark global functions and/or variables in devinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sb

svn commit: r227251 - head/usr.sbin/chown

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:41 2011 New Revision: 227251 URL: http://svn.freebsd.org/changeset/base/227251 Log: Mark global functions and/or variables in chown(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin

svn commit: r227253 - head/usr.sbin/fdread

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:54 2011 New Revision: 227253 URL: http://svn.freebsd.org/changeset/base/227253 Log: Mark global functions and/or variables in fdread(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbi

svn commit: r227255 - head/usr.sbin/mixer

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:13 2011 New Revision: 227255 URL: http://svn.freebsd.org/changeset/base/227255 Log: Mark global functions and/or variables in mixer(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin

svn commit: r227254 - head/usr.sbin/memcontrol

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:01:59 2011 New Revision: 227254 URL: http://svn.freebsd.org/changeset/base/227254 Log: Mark global functions and/or variables in memcontrol(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr

svn commit: r227256 - head/usr.sbin/moused

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:20 2011 New Revision: 227256 URL: http://svn.freebsd.org/changeset/base/227256 Log: Mark global functions and/or variables in moused(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbi

svn commit: r227257 - head/usr.sbin/pwd_mkdb

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:25 2011 New Revision: 227257 URL: http://svn.freebsd.org/changeset/base/227257 Log: Mark global functions and/or variables in pwd_mkdb(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.s

svn commit: r227258 - head/usr.sbin/rip6query

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:31 2011 New Revision: 227258 URL: http://svn.freebsd.org/changeset/base/227258 Log: Mark global functions and/or variables in rip6query(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.

svn commit: r227259 - head/usr.sbin/rmt

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:37 2011 New Revision: 227259 URL: http://svn.freebsd.org/changeset/base/227259 Log: Mark global functions and/or variables in rmt(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin/r

svn commit: r227260 - head/usr.sbin/snapinfo

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:43 2011 New Revision: 227260 URL: http://svn.freebsd.org/changeset/base/227260 Log: Mark global functions and/or variables in snapinfo(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.s

svn commit: r227261 - head/usr.sbin/spray

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 19:02:49 2011 New Revision: 227261 URL: http://svn.freebsd.org/changeset/base/227261 Log: Mark global functions and/or variables in spray(8) static where possible. This allows compilers and static analyzers to do more thorough analysis. Modified: head/usr.sbin

svn commit: r227262 - head/sbin/bsdlabel

2011-11-06 Thread Andrey V. Elsukov
Author: ae Date: Sun Nov 6 19:03:07 2011 New Revision: 227262 URL: http://svn.freebsd.org/changeset/base/227262 Log: Remove unneeded checks. MFC after:1 week Modified: head/sbin/bsdlabel/bsdlabel.c Modified: head/sbin/bsdlabel/bsdlabel.c

svn commit: r227266 - head/sys/netinet

2011-11-06 Thread Michael Tuexen
Author: tuexen Date: Sun Nov 6 20:09:22 2011 New Revision: 227266 URL: http://svn.freebsd.org/changeset/base/227266 Log: Initialize all components of the sent COOKIE. MFC after: 3 days. Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c ==

svn commit: r227267 - in head/sys: dev/iscsi/initiator fs/nwfs fs/smbfs sys ufs/ufs

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 20:16:50 2011 New Revision: 227267 URL: http://svn.freebsd.org/changeset/base/227267 Log: Remove MALLOC_DECLAREs of nonexisting malloc-pools. After careful grepping, it seems none of these pools can be found in our source tree. They are not in use, nor are they

svn commit: r227269 - head/usr.bin/at

2011-11-06 Thread Ed Schouten
Author: ed Date: Sun Nov 6 20:30:21 2011 New Revision: 227269 URL: http://svn.freebsd.org/changeset/base/227269 Log: Partially revert r227233. The privs.h header is not only used by at(1), it's also used by atrun(8). Just let the code the way it used to be (for now). Reported by: k

  1   2   >