Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libarch/i386 c89 prototypes
details: https://anonhg.NetBSD.org/src/rev/82e026c50abc
branches: trunk
changeset: 778315:82e026c50abc
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 21 21:37:29 2012 +0000
description:
c89 prototypes
diffstat:
lib/libarch/i386/i386_get_ioperm.c | 5 ++---
lib/libarch/i386/i386_get_ldt.c | 7 ++-----
lib/libarch/i386/i386_iopl.c | 5 ++---
lib/libarch/i386/i386_set_ioperm.c | 5 ++---
lib/libarch/i386/i386_set_ldt.c | 7 ++-----
lib/libarch/i386/i386_vm86.c | 5 ++---
6 files changed, 12 insertions(+), 22 deletions(-)
diffs (118 lines):
diff -r 27e298a137de -r 82e026c50abc lib/libarch/i386/i386_get_ioperm.c
--- a/lib/libarch/i386/i386_get_ioperm.c Wed Mar 21 21:25:38 2012 +0000
+++ b/lib/libarch/i386/i386_get_ioperm.c Wed Mar 21 21:37:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386_get_ioperm.c,v 1.6 2008/04/28 20:22:55 martin Exp $ */
+/* $NetBSD: i386_get_ioperm.c,v 1.7 2012/03/21 21:37:29 christos Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,8 +37,7 @@
int i386_get_ioperm(u_long *);
int
-i386_get_ioperm(iomap)
- u_long *iomap;
+i386_get_ioperm(u_long *iomap)
{
struct i386_get_ioperm_args p;
diff -r 27e298a137de -r 82e026c50abc lib/libarch/i386/i386_get_ldt.c
--- a/lib/libarch/i386/i386_get_ldt.c Wed Mar 21 21:25:38 2012 +0000
+++ b/lib/libarch/i386/i386_get_ldt.c Wed Mar 21 21:37:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386_get_ldt.c,v 1.6 1999/07/02 15:14:07 simonb Exp $ */
+/* $NetBSD: i386_get_ldt.c,v 1.7 2012/03/21 21:37:29 christos Exp $ */
/*
* Copyright (c) 1993 John Brezak
@@ -36,10 +36,7 @@
#include <machine/sysarch.h>
int
-i386_get_ldt(start, desc, num)
- int start;
- union descriptor *desc;
- int num;
+i386_get_ldt(int start, union descriptor *desc, int num)
{
struct i386_get_ldt_args p;
diff -r 27e298a137de -r 82e026c50abc lib/libarch/i386/i386_iopl.c
--- a/lib/libarch/i386/i386_iopl.c Wed Mar 21 21:25:38 2012 +0000
+++ b/lib/libarch/i386/i386_iopl.c Wed Mar 21 21:37:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386_iopl.c,v 1.5 2008/04/28 20:22:55 martin Exp $ */
+/* $NetBSD: i386_iopl.c,v 1.6 2012/03/21 21:37:29 christos Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,8 +35,7 @@
#include <machine/sysarch.h>
int
-i386_iopl(iopl)
- int iopl;
+i386_iopl(int iopl)
{
struct i386_iopl_args p;
diff -r 27e298a137de -r 82e026c50abc lib/libarch/i386/i386_set_ioperm.c
--- a/lib/libarch/i386/i386_set_ioperm.c Wed Mar 21 21:25:38 2012 +0000
+++ b/lib/libarch/i386/i386_set_ioperm.c Wed Mar 21 21:37:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386_set_ioperm.c,v 1.6 2008/04/28 20:22:55 martin Exp $ */
+/* $NetBSD: i386_set_ioperm.c,v 1.7 2012/03/21 21:37:29 christos Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,8 +37,7 @@
int i386_set_ioperm(u_long *);
int
-i386_set_ioperm(iomap)
- u_long *iomap;
+i386_set_ioperm(u_long *iomap)
{
struct i386_set_ioperm_args p;
diff -r 27e298a137de -r 82e026c50abc lib/libarch/i386/i386_set_ldt.c
--- a/lib/libarch/i386/i386_set_ldt.c Wed Mar 21 21:25:38 2012 +0000
+++ b/lib/libarch/i386/i386_set_ldt.c Wed Mar 21 21:37:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386_set_ldt.c,v 1.6 1999/07/02 15:14:07 simonb Exp $ */
+/* $NetBSD: i386_set_ldt.c,v 1.7 2012/03/21 21:37:29 christos Exp $ */
/*
* Copyright (c) 1993 John Brezak
@@ -36,10 +36,7 @@
#include <machine/sysarch.h>
int
-i386_set_ldt(start, desc, num)
- int start;
- union descriptor *desc;
- int num;
+i386_set_ldt(int start, union descriptor *desc, int num)
{
struct i386_set_ldt_args p;
diff -r 27e298a137de -r 82e026c50abc lib/libarch/i386/i386_vm86.c
--- a/lib/libarch/i386/i386_vm86.c Wed Mar 21 21:25:38 2012 +0000
+++ b/lib/libarch/i386/i386_vm86.c Wed Mar 21 21:37:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386_vm86.c,v 1.9 2008/10/26 07:05:00 mrg Exp $ */
+/* $NetBSD: i386_vm86.c,v 1.10 2012/03/21 21:37:29 christos Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,8 +38,7 @@
#include <i386/vm86.h>
int
-i386_vm86(vmcp)
- struct vm86_struct *vmcp;
+i386_vm86(struct vm86_struct *vmcp)
{
return sysarch(I386_VM86, (void *)vmcp);
Home |
Main Index |
Thread Index |
Old Index