Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2012 08:48:52 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232776 - head/sys/sys
Message-ID:  <201203100848.q2A8mqLp048114@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Mar 10 08:48:52 2012
New Revision: 232776
URL: http://svn.freebsd.org/changeset/base/232776

Log:
  Add brackets around bare '-1' used as the macro body.
  
  Noted by:	bde
  MFC after:	1 week

Modified:
  head/sys/sys/unistd.h

Modified: head/sys/sys/unistd.h
==============================================================================
--- head/sys/sys/unistd.h	Sat Mar 10 08:27:37 2012	(r232775)
+++ head/sys/sys/unistd.h	Sat Mar 10 08:48:52 2012	(r232776)
@@ -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
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203100848.q2A8mqLp048114>