[Glibc-bsd-commits] r2520 - trunk/glibc-ports/kfreebsd/sys

Aurelien Jarno aurel32 at alioth.debian.org
Thu May 21 18:52:28 UTC 2009


Author: aurel32
Date: 2009-05-21 18:52:28 +0000 (Thu, 21 May 2009)
New Revision: 2520

Modified:
   trunk/glibc-ports/kfreebsd/sys/reboot.h
Log:
Define RB_HALT_SYSTEM and RB_POWER_OFF in <sys/reboot.h> for compatibility with Linux.



Modified: trunk/glibc-ports/kfreebsd/sys/reboot.h
===================================================================
--- trunk/glibc-ports/kfreebsd/sys/reboot.h	2009-05-21 18:31:03 UTC (rev 2519)
+++ trunk/glibc-ports/kfreebsd/sys/reboot.h	2009-05-21 18:52:28 UTC (rev 2520)
@@ -65,6 +65,12 @@
 
 #define	RB_BOOTINFO	0x80000000	/* have `struct bootinfo *' arg */
 
+/* 
+ * Compatibility with Linux
+ */
+#define RB_HALT_SYSTEM	RB_HALT
+#define RB_POWER_OFF	RB_POWEROFF
+
 __BEGIN_DECLS
 
 /* Reboot or halt the system.  */




More information about the Glibc-bsd-commits mailing list