Commit 7e5cf95b authored by Felix Paul Kühne's avatar Felix Paul Kühne

Revert "src: fixed 2 errors detected by the clang static analyser"

This reverts commit 0e65dd77.
parent ecfb93fb
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
# include <mach/mach_time.h> # include <mach/mach_time.h>
#endif #endif
#if !defined(HAVE_STRUCT_TIMESPEC) && !defined(__APPLE__) #if !defined(HAVE_STRUCT_TIMESPEC)
struct timespec struct timespec
{ {
time_t tv_sec; time_t tv_sec;
...@@ -71,7 +71,7 @@ struct timespec ...@@ -71,7 +71,7 @@ struct timespec
#endif #endif
#if defined(HAVE_NANOSLEEP) && !defined(HAVE_DECL_NANOSLEEP) #if defined(HAVE_NANOSLEEP) && !defined(HAVE_DECL_NANOSLEEP)
int nanosleep(const struct timespec *, struct timespec *); int nanosleep(struct timespec *, struct timespec *);
#endif #endif
#if !defined (_POSIX_CLOCK_SELECTION) #if !defined (_POSIX_CLOCK_SELECTION)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment