X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=libserialport_internal.h;h=d5ce00814fce5470f8d577852785af701131891d;hb=dc422c04af5c63e31de6af2eedcebbfc961ee9e2;hp=08e4eb2094cce65fe9820d2f87673c931b0f5f9d;hpb=2b40f8145448dc0ef85ab95b779b83dac939837c;p=libserialport.git diff --git a/libserialport_internal.h b/libserialport_internal.h index 08e4eb2..d5ce008 100644 --- a/libserialport_internal.h +++ b/libserialport_internal.h @@ -24,7 +24,7 @@ #include "config.h" #ifdef __linux__ -#define _BSD_SOURCE // for timeradd, timersub, timercmp +#define _BSD_SOURCE /* For timeradd, timersub, timercmp. */ #endif #include @@ -182,7 +182,7 @@ extern void (*sp_debug_handler)(const char *format, ...); #define RETURN() do { \ DEBUG_FMT("%s returning", __func__); \ return; \ -} while(0) +} while (0) #define RETURN_CODE(x) do { \ DEBUG_FMT("%s returning " #x, __func__); \ return x; \