aboutsummaryrefslogtreecommitdiff
path: root/gzguts.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 /gzguts.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 'gzguts.h')
-rw-r--r--gzguts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gzguts.h b/gzguts.h
index bb62175..4f83d6d 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -114,7 +114,9 @@
114#ifndef local 114#ifndef local
115# define local static 115# define local static
116#endif 116#endif
117/* compile with -Dlocal if your debugger can't find static symbols */ 117/* since "static" is used to mean two completely different things in C, we
118 define "local" for the non-static meaning of "static", for readability
119 (compile with -Dlocal if your debugger can't find static symbols) */
118 120
119/* gz* functions always use library allocation functions */ 121/* gz* functions always use library allocation functions */
120#ifndef STDC 122#ifndef STDC