Skip to contentSkip to conversation

STATIC vs static

DISCUSSION Tom Schwindl 2 participants 2 messages Feb 17, 2023 – Feb 20, 2023

lore
Share & tools
lore
#0 lore raw

Hi all,

as I was skimming through the codebase, I noticed that sometimes there is a macro, STATIC, used to represent the normal static. Is there a reason for that or would a s/STATIC/static/g be welcome? Now that we are revising the prototypes anyway I think it's the right time to bring this up.

Signature · 2 lines
Best Regards,
Tom Schwindl
#1 lore raw
Quoted 6 lines · Tom Schwindl

Hi all,

as I was skimming through the codebase, I noticed that sometimes there is a macro, STATIC, used to represent the normal static. Is there a reason for that or would a s/STATIC/static/g be welcome? Now that we are revising the prototypes anyway I think it's the right time to bring this up.

There is no reason why STATIC should exist in dash. But if we're going to clean it up we should make the whole function prototype and definition consistent and not just the one word.

Thanks,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt