diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2016-10-26 10:25:10 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2016-10-26 10:25:10 -0700 |
commit | bedea2483b6cf0f5af0f50010031bb56f5512124 (patch) | |
tree | bd1655913a9ed074e33e8b8c07d3f6c2d96b1825 /zutil.h | |
parent | ce12c5cd00628bf8f680c98123a369974d32df15 (diff) | |
download | zlib-bedea2483b6cf0f5af0f50010031bb56f5512124.tar.gz zlib-bedea2483b6cf0f5af0f50010031bb56f5512124.tar.bz2 zlib-bedea2483b6cf0f5af0f50010031bb56f5512124.zip |
Clean up and comment the use of local for static.
Diffstat (limited to 'zutil.h')
-rw-r--r-- | zutil.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,7 +36,9 @@ | |||
36 | #ifndef local | 36 | #ifndef local |
37 | # define local static | 37 | # define local static |
38 | #endif | 38 | #endif |
39 | /* compile with -Dlocal if your debugger can't find static symbols */ | 39 | /* since "static" is used to mean two completely different things in C, we |
40 | define "local" for the non-static meaning of "static", for readability | ||
41 | (compile with -Dlocal if your debugger can't find static symbols) */ | ||
40 | 42 | ||
41 | typedef unsigned char uch; | 43 | typedef unsigned char uch; |
42 | typedef uch FAR uchf; | 44 | typedef uch FAR uchf; |