aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2016-10-26 10:25:10 -0700
committerMark Adler <madler@alumni.caltech.edu>2016-10-26 10:25:10 -0700
commitbedea2483b6cf0f5af0f50010031bb56f5512124 (patch)
treebd1655913a9ed074e33e8b8c07d3f6c2d96b1825 /zutil.h
parentce12c5cd00628bf8f680c98123a369974d32df15 (diff)
downloadzlib-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zutil.h b/zutil.h
index 9441a1e..96cc90f 100644
--- a/zutil.h
+++ b/zutil.h
@@ -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
41typedef unsigned char uch; 43typedef unsigned char uch;
42typedef uch FAR uchf; 44typedef uch FAR uchf;