svn commit: r314100 - head/sys/sys

Andriy Gapon avg at FreeBSD.org
Wed Feb 22 17:13:01 UTC 2017


Author: avg
Date: Wed Feb 22 17:13:00 2017
New Revision: 314100
URL: https://svnweb.freebsd.org/changeset/base/314100

Log:
  fix a typo in __STDC_VERSION__ in __min_size requirements
  
  MFC after:	1 week
  Sponsored by:	Panzura

Modified:
  head/sys/sys/cdefs.h

Modified: head/sys/sys/cdefs.h
==============================================================================
--- head/sys/sys/cdefs.h	Wed Feb 22 16:37:45 2017	(r314099)
+++ head/sys/sys/cdefs.h	Wed Feb 22 17:13:00 2017	(r314100)
@@ -349,7 +349,7 @@
  * void bar(int myArray[__min_size(10)]);
  */
 #if !defined(__cplusplus) && \
-    (!defined(__STDC_VERSION) || (__STDC_VERSION__ >= 199901))
+    (!defined(__STDC_VERSION__) || (__STDC_VERSION__ >= 199901))
 #define __min_size(x)	static (x)
 #else
 #define __min_size(x)	(x)


More information about the svn-src-head mailing list