summaryrefslogtreecommitdiff
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
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 @@
#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;