Skip to content

Commit

Permalink
...'
Browse files Browse the repository at this point in the history
  • Loading branch information
amagura committed Apr 18, 2015
1 parent bafb4ac commit 7b7341b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ BEGIN_C_DECLS
} while(0)
# endif

# undef bzero
# ifndef bzero
inline void bzero(void *b, size_t len)
{
return (memset(b, '\0', len), (void) 0);
}
# endif

# ifndef mempcpy
inline void *mempcpy(void *dst, void *src, size_t len)
Expand Down

0 comments on commit 7b7341b

Please sign in to comment.