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. --- zutil.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zutil.h') 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; -- cgit v1.2.3-55-g6feb