Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!labrea!aurora!ames!ptsfa!ihnp4!laidbak!mdb From: mdb@laidbak.UUCP Newsgroups: comp.unix.wizards Subject: Re: Motivation behind a particular piece of code in cpp Message-ID: <1262@laidbak.UUCP> Date: Sun, 29-Nov-87 00:12:45 EST Article-I.D.: laidbak.1262 Posted: Sun Nov 29 00:12:45 1987 Date-Received: Tue, 1-Dec-87 04:52:32 EST References: <981@gumby.UUCP> <1963@natmlab.dms.oz> <1706@rayssd.RAY.COM> Organization: Lachman Associates, Inc., Naperville, IL Lines: 17 Keywords: cpp, static, STATIC Summary: #ifdef lint Here's a favorite one of mine. /* * Adb is more palatable when static functions and variables are * declared as globals. Lint gives more useful information when * statics are truly static. */ #ifdef lint # define STATIC static /* Declare static variables for lint */ #else /* lint */ # define STATIC /* Make static variables global for adb */ #endif /* lint */ Mark Brukhartz Lachman Associates, Inc. ..!{ihnp4, sun}!laidbak!mdb