Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105988478
D1188.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
789 B
Referenced Files
None
Subscribers
None
D1188.diff
View Options
Index: head/sys/contrib/ngatm/netnatm/saal/saal_sscop.c
===================================================================
--- head/sys/contrib/ngatm/netnatm/saal/saal_sscop.c
+++ head/sys/contrib/ngatm/netnatm/saal/saal_sscop.c
@@ -163,18 +163,17 @@
} \
} while(0)
-
-#define QFIND(Q,RN) \
- ({ \
- struct sscop_msg *_msg = NULL, *_m; \
- MSGQ_FOREACH(_m, (Q)) { \
- if(_m->seqno == (RN)) { \
- _msg = _m; \
- break; \
- } \
- } \
- _msg; \
- })
+static inline struct sscop_msg *QFIND(sscop_msgq_head_t *q, u_int rn)
+{
+ struct sscop_msg *msg = NULL, *m;
+ MSGQ_FOREACH(m, q) {
+ if(m->seqno == rn) {
+ msg = m;
+ break;
+ }
+ }
+ return msg;
+}
#define QINSERT(Q,M) \
do { \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 1:07 PM (19 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15588174
Default Alt Text
D1188.diff (789 B)
Attached To
Mode
D1188: Fix clang 3.5.0 warning in libngatm
Attached
Detach File
Event Timeline
Log In to Comment