Clean up and comment the use of local for static.

This commit is contained in:
Mark Adler
2016-10-26 10:25:10 -07:00
parent ce12c5cd00
commit bedea2483b
4 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,9 @@
#ifndef local
# define local static
#endif
/* compile with -Dlocal if your debugger can't find static symbols */
/* since "static" is used to mean two completely different things in C, we
define "local" for the non-static meaning of "static", for readability
(compile with -Dlocal if your debugger can't find static symbols) */
typedef unsigned char uch;
typedef uch FAR uchf;