From bedea2483b6cf0f5af0f50010031bb56f5512124 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Wed, 26 Oct 2016 10:25:10 -0700 Subject: Clean up and comment the use of local for static. --- gzguts.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gzguts.h') diff --git a/gzguts.h b/gzguts.h index bb62175..4f83d6d 100644 --- a/gzguts.h +++ b/gzguts.h @@ -114,7 +114,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) */ /* gz* functions always use library allocation functions */ #ifndef STDC -- cgit v1.2.3-55-g6feb