svn commit: r314491 - stable/11/sys/sys

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


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

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

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

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