aboutsummaryrefslogtreecommitdiffstats
path: root/include/stdio.h
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
committerEd Schouten <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
commitf6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5 (patch)
treeff467d16b69860d02d290f3c005240ea4a39828c /include/stdio.h
parent1c6eeddad9c719854ab7a078ab24bbdf6a7ffed3 (diff)
downloadsrc-f6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5.tar.gz
src-f6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5.zip
Replace __const by const in all non-contributed source code.
As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well.
Notes
Notes: svn path=/head/; revision=228468
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index bbeb0decf8ce..b72bfd4f90c4 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -404,8 +404,8 @@ int vasprintf(char **, const char *, __va_list)
* positive errno values. Use strerror() or strerror_r() from <string.h>
* instead.
*/
-extern __const int sys_nerr;
-extern __const char *__const sys_errlist[];
+extern const int sys_nerr;
+extern const char * const sys_errlist[];
/*
* Stdio function-access interface.