Skip to content

Commit

Permalink
Add an include guard for the header
Browse files Browse the repository at this point in the history
  • Loading branch information
compnerd committed Jul 21, 2014
1 parent 141b64c commit 3546526
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fishhook.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#ifndef fishhook_h
#define fishhook_h

#include <stddef.h>
#include <stdint.h>

Expand Down Expand Up @@ -51,3 +54,6 @@ int rebind_symbols_image(void *header,
intptr_t slide,
struct rebinding rebindings[],
size_t rebindings_nel);

#endif

0 comments on commit 3546526

Please sign in to comment.