Silence warnings.

This commit is contained in:
Eivind Eklund 1999-01-12 00:19:33 +00:00
parent fd8d7e3875
commit 1950f59007
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42543
9 changed files with 28 additions and 24 deletions

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*

View File

@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: perfmon.c,v 1.15 1997/12/29 23:36:56 phk Exp $
* $Id: perfmon.c,v 1.16 1998/12/07 21:58:18 archie Exp $
*/
#include <sys/param.h>
@ -41,7 +41,9 @@
static int perfmon_inuse;
static int perfmon_cpuok;
#ifndef SMP
static int msr_ctl[NPMC];
#endif
static int msr_pmc[NPMC];
static unsigned int ctl_shadow[NPMC];
static quad_t pmc_shadow[NPMC]; /* used when ctr is stopped on P5 */

View File

@ -46,7 +46,7 @@
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**
** $Id: userconfig.c,v 1.121 1999/01/08 21:00:26 abial Exp $
** $Id: userconfig.c,v 1.122 1999/01/09 18:12:05 wpaul Exp $
**/
/**
@ -2516,7 +2516,7 @@ visuserconfig(void)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: userconfig.c,v 1.121 1999/01/08 21:00:26 abial Exp $
* $Id: userconfig.c,v 1.122 1999/01/09 18:12:05 wpaul Exp $
*/
#include "scbus.h"
@ -2607,10 +2607,12 @@ static CmdParm dev_parms[] = {
{ -1, {} },
};
#if NPNP > 0
static CmdParm string_arg[] = {
{ PARM_STRING, {} },
{ -1, {} },
};
#endif
#if NEISA > 0
static CmdParm int_arg[] = {

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*

View File

@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: mp_machdep.c,v 1.85 1998/11/26 23:14:23 tegge Exp $
* $Id: mp_machdep.c,v 1.86 1998/12/07 21:58:18 archie Exp $
*/
#include "opt_smp.h"
@ -1009,8 +1009,8 @@ fix_mp_table(void)
{
int x;
int id;
int bus_0;
int bus_pci;
int bus_0 = 0; /* Stop GCC warning */
int bus_pci = 0; /* Stop GCC warning */
int num_pci_bus;
/*