mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-23 06:35:38 -07:00
umm: remove warnings ISO C forbids an empty translation unit
This commit is contained in:
parent
2f31990346
commit
7850efefc8
3 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
#ifdef UMM_INFO
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#ifdef UMM_INFO
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
* One of the coolest things about this little library is that it's VERY
|
* One of the coolest things about this little library is that it's VERY
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* integrity check (UMM_INTEGRITY_CHECK) {{{ */
|
/* integrity check (UMM_INTEGRITY_CHECK) {{{ */
|
||||||
#ifdef UMM_INTEGRITY_CHECK
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#ifdef UMM_INTEGRITY_CHECK
|
||||||
/*
|
/*
|
||||||
* Perform integrity check of the whole heap data. Returns 1 in case of
|
* Perform integrity check of the whole heap data. Returns 1 in case of
|
||||||
* success, 0 otherwise.
|
* success, 0 otherwise.
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
/* poisoning (UMM_POISON_CHECK) {{{ */
|
/* poisoning (UMM_POISON_CHECK) {{{ */
|
||||||
#if defined(UMM_POISON_CHECK)
|
|
||||||
#define POISON_BYTE (0xa5)
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#if defined(UMM_POISON_CHECK)
|
||||||
|
#define POISON_BYTE (0xa5)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Yields a size of the poison for the block of size `s`.
|
* Yields a size of the poison for the block of size `s`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue