Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 1996 11:36:14 -0800 (PST)
From:      Garrett Wollman <wollman>
To:        CVS-committers, cvs-all, cvs-sbin
Subject:   cvs commit:  src/sbin/ifconfig Makefile ifconfig.c
Message-ID:  <199611211936.LAA12660@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wollman     96/11/21 11:36:14

  Modified:    sbin/ifconfig  Makefile ifconfig.c
  Log:
  Fix lots of non-bug questionable code:
  
  - Don't link against libkvm and don't uselessly include <kvm.h>.
  - Declare constant objects as const.
  - Declare functions with the correct types.
  - Call functions with the correct parameters.
  
  Not fixed:
  
  - The sysctl parsing remains ugly (but it may be the best we can do).
  - atnetrange() should use strtoul() rather than sscanf() for better
    error checking.
  
  Revision  Changes    Path
  1.7       +6 -4      src/sbin/ifconfig/Makefile
  1.20      +149 -108  src/sbin/ifconfig/ifconfig.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611211936.LAA12660>