DragonFly BSD
DragonFly submit List (threaded) for 2005-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/sys/boot cleanup


From: Alexey Slynko <slynko@xxxxxxxxx>
Date: Wed, 23 Nov 2005 18:25:29 +0300

Hi,

1) Ansify function definitions
Index: common/boot.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/boot/common/boot.c,v
retrieving revision 1.3
diff -u -r1.3 boot.c
--- common/boot.c	10 Nov 2003 06:08:31 -0000	1.3
+++ common/boot.c	22 Nov 2005 19:52:43 -0000
@@ -146,7 +146,7 @@
  * we haven't tried already, try now.
  */
 void
-autoboot_maybe()
+autoboot_maybe(void)
 {
     char	*cp;
     
Index: i386/libi386/gatea20.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/boot/i386/libi386/gatea20.c,v
retrieving revision 1.4
diff -u -r1.4 gatea20.c
--- i386/libi386/gatea20.c	6 Aug 2004 20:48:36 -0000	1.4
+++ i386/libi386/gatea20.c	22 Nov 2005 19:51:54 -0000
@@ -32,7 +32,7 @@
  * Gate A20 for high memory
  */
 static unsigned char	x_20 = KB_A20;
-void gateA20()
+void gateA20(void)
 {
 	__asm __volatile("pushfl ; cli");
 #ifdef	IBM_L40
Index: i386/libi386/pxe.c
===================================================================
RCS file: /mnt/share/dragonfly-cvs/src/sys/boot/i386/libi386/pxe.c,v
retrieving revision 1.7
diff -u -r1.7 pxe.c
--- i386/libi386/pxe.c	3 Sep 2005 23:52:47 -0000	1.7
+++ i386/libi386/pxe.c	22 Nov 2005 19:52:22 -0000
@@ -495,7 +495,7 @@
 
 
 time_t
-getsecs()
+getsecs(void)
 {
 	time_t n = 0;
 	time(&n);


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