svn commit: r314492 - stable/10/sys/sys

Andriy Gapon avg at FreeBSD.org
Wed Mar 1 13:45:52 UTC 2017


Author: avg
Date: Wed Mar  1 13:45:50 2017
New Revision: 314492
URL: https://svnweb.freebsd.org/changeset/base/314492

Log:
  MFC r314100: fix a typo in __STDC_VERSION__ in __min_size requirements

Modified:
  stable/10/sys/sys/cdefs.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/cdefs.h
==============================================================================
--- stable/10/sys/sys/cdefs.h	Wed Mar  1 13:45:40 2017	(r314491)
+++ stable/10/sys/sys/cdefs.h	Wed Mar  1 13:45:50 2017	(r314492)
@@ -340,7 +340,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-stable-10 mailing list