Skip to content

Commit

Permalink
Clean up build warnings on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
mubes committed Sep 4, 2024
1 parent 326a9f7 commit ff14e10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Inc/loadelf.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
#ifndef _LOADELF_H_

#include <stdbool.h>
#include <capstone/capstone.h>
#include <capstone.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef unsigned long int symbolMemaddr;
typedef uint32_t symbolMemaddr;
typedef unsigned char *symbolMemptr;

#define MEMADDRF "%08lx"
Expand Down
2 changes: 0 additions & 2 deletions Src/orbmortem.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

#define REMOTE_SERVER "localhost"

typedef unsigned long int symbolMemaddr;

enum Prot { PROT_OFLOW, PROT_ETM, PROT_UNKNOWN };
const char *protString[] = {"OFLOW", "ETM", NULL};

Expand Down

0 comments on commit ff14e10

Please sign in to comment.