freebsd with flexible iflib nic queues
Go to file
Johan Karlsson aae01d2439 display.c:
- 'savech' is only used if it is set a few lines above where
	  it is used, initialize it to silence warning.

	- 'length' is either -1 or greater than 0, hence it is safe to cast it
	  to unsigned when comparing it here.

odsyntax.c:
	- 'p' is assigned either (*argvp)[0] or (*argvp)[1] which both are
	  char *. 'num' and 'end' are assigned values based on 'p'.
	  Hence use char * instead of unsigned char * for these variables.

	  '&end' as the second argument to strtoll does not need to be casted
	  to char** any more.

	  This solves a
	  'dereferencing type-punned pointer will break strict-aliasing rules'
	  warning when compiling with -O2.

parse.c:
	- 'prec' is only used when sokay == USEPREC and sokay = USEPREC
	  when 'prec' is assigned. Hence 'prec' is not used uninitialized,
	  initialize it to silence warning.

	- The code involving 'nextpr' is hard to follow, but I belive
	  'nextpr' will not be used unless it is initialized.
	  Anyway, IF 'nextpr' is used uninitialized it is better to
	  get a consistant error (seg fault, when dereferencing a NULL pointer)
	  than potentially accessing some random memory.

The above changes makes hexdump WARNS=6 clean even when compiled with
-O2. Hence bump WARNS to keep it clean.

Tested by:	CFLAGS='-O2 -pipe' make universe
2004-07-22 13:14:42 +00:00
bin Currently if a mount point is not accessible by the calling user, 2004-07-20 18:24:47 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r132536, 2004-07-22 09:16:04 +00:00
crypto Regenerate. 2004-04-20 09:49:37 +00:00
etc Add /etc/ntp to hold keys for ntpd. 2004-07-21 10:14:10 +00:00
games Fix typos. 2004-07-20 08:32:42 +00:00
gnu o ps_pd{read|write} and ps_pt{read|write} are obsolete interface 2004-07-17 17:08:13 +00:00
include Implement the GNU extensions of mbsnrtowcs() and wcsnrtombs(). These are 2004-07-21 10:54:57 +00:00
kerberos5 Update version strings for Heimdal: 0.6 -> 0.6.1 2004-04-13 16:41:00 +00:00
lib Return the correct value when dst == NULL and conversion has stopped after 2004-07-22 02:57:29 +00:00
libexec Fix a few cases that relied on 'implicit int' (constraint violation in C99). 2004-07-11 17:37:33 +00:00
release Improve package list for disc3: 2004-07-22 01:37:56 +00:00
rescue Remove dangling raidctl reference 2004-03-16 13:42:23 +00:00
sbin Add references to pf(4) and pfctl(8) at the description of 2004-07-22 10:38:13 +00:00
secure Import the openssl conf for arm. 2004-05-14 12:26:51 +00:00
share Add 'benchmarked' and many technical acronyms for protocols, product 2004-07-22 02:45:57 +00:00
sys Add a macro, __pure, which expands to __attribute__((__pure__)) on gcc 2004-07-22 09:20:51 +00:00
tools Add two more programs useful for testing the correctness of pipes. 2004-07-22 02:46:25 +00:00
usr.bin display.c: 2004-07-22 13:14:42 +00:00
usr.sbin Include support for NOCRYPT & NO_OPENSSL world. 2004-07-22 09:10:52 +00:00
COPYRIGHT
installworld_newk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
installworld_oldk Commit the first set of files for changing time_t on freebsd/sparc64 2004-03-03 19:36:20 +00:00
MAINTAINERS s/manditory/mandatory 2004-07-17 20:22:24 +00:00
Makefile Rename a preposterously long name with one that might look a bit 2004-07-18 18:55:31 +00:00
Makefile.inc1 Get rid of the THISHOST variable when building on sparc64. The problem 2004-07-08 09:08:09 +00:00
README
UPDATING Add the change of the sound drivers. 2004-07-16 04:04:29 +00:00
UPDATING.64BTT Add a tip for people who are using database-related ports on a sparc64 2004-03-17 01:59:47 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html