mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
static
This commit is contained in:
parent
6416de1a38
commit
35e97ba96a
16 changed files with 31 additions and 27 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
#define MAX_ARGS 20
|
||||
|
||||
int split(char *str, char *arr[MAX_ARGS]) {
|
||||
static int split(char *str, char *arr[MAX_ARGS]) {
|
||||
int beginIndex = 0;
|
||||
int endIndex;
|
||||
int maxWords = MAX_ARGS;
|
||||
|
@ -389,7 +389,7 @@ int CmdrevengTestC(const char *Cmd) {
|
|||
}
|
||||
|
||||
//returns a calloced string (needs to be freed)
|
||||
char *SwapEndianStr(const char *inStr, const size_t len, const uint8_t blockSize) {
|
||||
static char *SwapEndianStr(const char *inStr, const size_t len, const uint8_t blockSize) {
|
||||
char *tmp = calloc(len + 1, sizeof(char));
|
||||
for (uint8_t block = 0; block < (uint8_t)(len / blockSize); block++) {
|
||||
for (size_t i = 0; i < blockSize; i += 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue