mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
I am not sure why ## was used in this macro, as w/o the string concatenation
the tokens are legal ANSI-C. Maybe to enable 'op' to be a macro itself?
Anyway, with the ## concatenation Gcc 3.1's integrated `cpp' treats "=op("
as a single token vs. the three tokens it is.
This commit is contained in:
parent
09c0425e56
commit
200e654a4a
1 changed files with 2 additions and 2 deletions
|
|
@ -201,7 +201,7 @@ tsunami_check_abort(void)
|
|||
tsunami_check_abort(); \
|
||||
return ~0; \
|
||||
} \
|
||||
data = ##op##(va); \
|
||||
data = op(va); \
|
||||
if (tsunami_check_abort()) \
|
||||
return ~0; \
|
||||
return data; \
|
||||
|
|
@ -213,7 +213,7 @@ tsunami_check_abort(void)
|
|||
tsunami_clear_abort(); \
|
||||
if (badaddr((caddr_t)va, width)) \
|
||||
return; \
|
||||
##op##(va, data); \
|
||||
op(va, data); \
|
||||
tsunami_check_abort(); \
|
||||
} while (0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue