dsprenkels / randombytes

A portable C library for generating cypto-secure random bytes
MIT License
96 stars 37 forks source link

Declare __{wrap,real}_syscall in correct #ifdef scope #23

Closed dsprenkels closed 5 years ago

dsprenkels commented 5 years ago

Before, the functions __wrap_syscall and __real_syscall were undeclared in the #if defined(__linux__) && defined(SYS_getrandom) scope. This PR moves the declaration of these functions to the correct #ifdef scope.