Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libarch/x86_64 replace old style function declaration



details:   https://anonhg.NetBSD.org/src/rev/d78f3524a389
branches:  trunk
changeset: 820632:d78f3524a389
user:      maya <maya%NetBSD.org@localhost>
date:      Thu Jan 12 19:02:22 2017 +0000

description:
replace old style function declaration

diffstat:

 lib/libarch/x86_64/x86_64_iopl.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 852761587b2b -r d78f3524a389 lib/libarch/x86_64/x86_64_iopl.c
--- a/lib/libarch/x86_64/x86_64_iopl.c  Thu Jan 12 18:52:15 2017 +0000
+++ b/lib/libarch/x86_64/x86_64_iopl.c  Thu Jan 12 19:02:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_64_iopl.c,v 1.2 2008/04/28 20:22:55 martin Exp $   */
+/*     $NetBSD: x86_64_iopl.c,v 1.3 2017/01/12 19:02:22 maya Exp $     */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -35,8 +35,7 @@
 #include <machine/sysarch.h>
 
 int
-x86_64_iopl(iopl)
-       int iopl;
+x86_64_iopl(int iopl)
 {
        struct x86_64_iopl_args p;
 



Home | Main Index | Thread Index | Old Index