##// END OF EJS Templates
chg: silence warning of unused parameter 'sig'
Yuya Nishihara -
r29440:009cc6c8 default
parent child Browse files
Show More
@@ -381,7 +381,7 b' error:'
381 381 abortmsgerrno("failed to handle stop signal");
382 382 }
383 383
384 static void handlechildsignal(int sig)
384 static void handlechildsignal(int sig UNUSED_)
385 385 {
386 386 if (peerpid == 0 || pagerpid == 0)
387 387 return;
@@ -12,8 +12,10 b''
12 12
13 13 #ifdef __GNUC__
14 14 #define PRINTF_FORMAT_ __attribute__((format(printf, 1, 2)))
15 #define UNUSED_ __attribute__((unused))
15 16 #else
16 17 #define PRINTF_FORMAT_
18 #define UNUSED_
17 19 #endif
18 20
19 21 void abortmsg(const char *fmt, ...) PRINTF_FORMAT_;
General Comments 0
You need to be logged in to leave comments. Login now