Closed jwerle closed 10 years ago
See sphia/sphia #26 Also: https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier#DCL37-C.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29
Your header guards should be defined as such:
#ifndef CSTACK_H #define CSTACK_H ... #endif
Fixed.
https://github.com/humanshell/cstack/commit/6ef3cf996b1c9657f2563f1e129855f71539bfee
See sphia/sphia #26 Also: https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier#DCL37-C.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29
Your header guards should be defined as such: