Skip to content

Commit

Permalink
libhfuzz: remove always_inline attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Jun 23, 2017
1 parent 0cf7653 commit ee3a530
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libhfuzz/memorycmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include "instrument.h"

__attribute__ ((always_inline))
static inline int _strcmp(const char *s1, const char *s2, void *addr)
{
unsigned int v = 0;
Expand All @@ -24,7 +23,6 @@ int __wrap_strcmp(const char *s1, const char *s2)
return _strcmp(s1, s2, __builtin_return_address(0));
}

__attribute__ ((always_inline))
static inline int _strcasecmp(const char *s1, const char *s2, void *addr)
{
unsigned int v = 0;
Expand All @@ -45,7 +43,6 @@ int __wrap_strcasecmp(const char *s1, const char *s2)
return _strcasecmp(s1, s2, __builtin_return_address(0));
}

__attribute__ ((always_inline))
static inline int _strncmp(const char *s1, const char *s2, size_t n, void *addr)
{
if (n == 0) {
Expand Down

0 comments on commit ee3a530

Please sign in to comment.