svn commit: r233060 - stable/9/sys/sys

Konstantin Belousov kib at FreeBSD.org
Sat Mar 17 01:19:37 UTC 2012


Author: kib
Date: Sat Mar 17 01:19:36 2012
New Revision: 233060
URL: http://svn.freebsd.org/changeset/base/233060

Log:
  MFC r232776:
  Add brackets around bare '-1' used as the macro body.

Modified:
  stable/9/sys/sys/unistd.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/sys/unistd.h
==============================================================================
--- stable/9/sys/sys/unistd.h	Sat Mar 17 01:04:07 2012	(r233059)
+++ stable/9/sys/sys/unistd.h	Sat Mar 17 01:19:36 2012	(r233060)
@@ -52,34 +52,34 @@
 #define	_POSIX_ADVISORY_INFO		200112L
 #define	_POSIX_ASYNCHRONOUS_IO		0
 #define	_POSIX_CHOWN_RESTRICTED		1
-#define	_POSIX_CLOCK_SELECTION		-1
-#define	_POSIX_CPUTIME			-1
+#define	_POSIX_CLOCK_SELECTION		(-1)
+#define	_POSIX_CPUTIME			(-1)
 #define	_POSIX_FSYNC			200112L
 #define	_POSIX_IPV6			0
 #define	_POSIX_JOB_CONTROL		1
 #define	_POSIX_MAPPED_FILES		200112L
-#define	_POSIX_MEMLOCK			-1
+#define	_POSIX_MEMLOCK			(-1)
 #define	_POSIX_MEMLOCK_RANGE		200112L
 #define	_POSIX_MEMORY_PROTECTION	200112L
 #define	_POSIX_MESSAGE_PASSING		200112L
 #define	_POSIX_MONOTONIC_CLOCK		200112L
 #define	_POSIX_NO_TRUNC			1
-#define	_POSIX_PRIORITIZED_IO		-1
+#define	_POSIX_PRIORITIZED_IO		(-1)
 #define	_POSIX_PRIORITY_SCHEDULING	200112L
 #define	_POSIX_RAW_SOCKETS		200112L
 #define	_POSIX_REALTIME_SIGNALS		200112L
 #define	_POSIX_SEMAPHORES		200112L
 #define	_POSIX_SHARED_MEMORY_OBJECTS	200112L
-#define	_POSIX_SPORADIC_SERVER		-1
-#define	_POSIX_SYNCHRONIZED_IO		-1
+#define	_POSIX_SPORADIC_SERVER		(-1)
+#define	_POSIX_SYNCHRONIZED_IO		(-1)
 #define	_POSIX_TIMEOUTS			200112L
 #define	_POSIX_TIMERS			200112L
-#define	_POSIX_TYPED_MEMORY_OBJECTS	-1
+#define	_POSIX_TYPED_MEMORY_OBJECTS	(-1)
 #define	_POSIX_VDISABLE			0xff
 
 #if __XSI_VISIBLE
 #define	_XOPEN_SHM			1
-#define	_XOPEN_STREAMS			-1
+#define	_XOPEN_STREAMS			(-1)
 #endif
 
 /*


More information about the svn-src-stable-9 mailing list