- PC Lint Warning 537: Repeated include file
- #ifndef CHECKSUM_H
- #define CHECKSUM_H
- #include <GenericTypeDefs.h>
- BOOL isCheckSumCorrect(const UINT8 *dataPointer, UINT8 len, UINT8 checkSumByte);
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef CRYPTOGRAPHY_H
- #define CRYPTOGRAPHY_H
- #include <GenericTypeDefs.h>
- UINT8 encrypt(UINT8 c);
- UINT8 decrypt(UINT8 c);
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef CRC_H
- #define CRC_H
- #include <GenericTypeDefs.h>
- UINT8 generateCRC(const UINT8 *ptr, UINT8 Len);
- BOOL isCRCValid(const UINT8 *ptr, UINT8 Len, UINT8 CRCChar);
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "checksum.h"
- #include "cryptography.h"
- #include "crc8.h"
- main () { /* Do Stuff */ }
- // CHECKSUM_H is not defined, so the preprocessor inserts:
- #include <GenericTypeDefs.h>
- BOOL isCheckSumCorrect(const UINT8 *dataPointer, UINT8 len, UINT8 checkSumByte);
- // CRYPTOGRAPHY_H is not defined, so the preprocessor inserts:
- #include <GenericTypeDefs.h>
- UINT8 encrypt(UINT8 c);
- UINT8 decrypt(UINT8 c);
- // CRC_H is not defined, so the preprocessor inserts:
- #include <GenericTypeDefs.h>
- UINT8 generateCRC(const UINT8 *ptr, UINT8 Len);
- BOOL isCRCValid(const UINT8 *ptr, UINT8 Len, UINT8 CRCChar);
- main () { /* Do Stuff */ }
- #ifndef GENERIC_TYPE_DEFS_H
- #define GENERIC_TYPE_DEFS_H
- #define UINT8 unsigned char
- #ifdef __cplusplus
- extern "C" {
- #endif
- // GENERIC_TYPE_DEFS_H is not defined, so the preprocessor inserts:
- #define UINT8 unsigned char
- BOOL isCheckSumCorrect(const UINT8 *dataPointer, UINT8 len, UINT8 checkSumByte);
- // GENERIC_TYPE_DEFS_H IS defined, so the preprocessor inserts nothing.
- UINT8 encrypt(UINT8 c);
- UINT8 decrypt(UINT8 c);
- // GENERIC_TYPE_DEFS_H IS defined, so the preprocessor inserts nothing.
- UINT8 generateCRC(const UINT8 *ptr, UINT8 Len);
- BOOL isCRCValid(const UINT8 *ptr, UINT8 Len, UINT8 CRCChar);
- main () { /* Do Stuff */ }
- #include <GenericTypeDefs.h>
- #include "checksum.h"
- #include <GenericTypeDefs.h>
- #include "cryptography.h"
- #include <GenericTypeDefs.h>
- #include "crc.h"
- #include <GenericTypeDefs.h>
- #include "checksum.h"
- #include "cryptography.h"
- #include "crc8.h"
- main () { /* Do Stuff */ }
- -efile(537,GenericTypeDefs.h)