Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Correct bug identified in static analysis
[ric-plt/lib/rmr.git]
/
src
/
rmr
/
si
/
include
/
rmr_si_private.h
diff --git
a/src/rmr/si/include/rmr_si_private.h
b/src/rmr/si/include/rmr_si_private.h
index
414c649
..
8109acd
100644
(file)
--- a/
src/rmr/si/include/rmr_si_private.h
+++ b/
src/rmr/si/include/rmr_si_private.h
@@
-210,4
+210,7
@@
static endpoint_t* fd2ep_get( uta_ctx_t* ctx, int fd );
static void fd2ep_init( uta_ctx_t* ctx );
static void fd2ep_add( uta_ctx_t* ctx, int fd, endpoint_t* ep );
static void fd2ep_init( uta_ctx_t* ctx );
static void fd2ep_add( uta_ctx_t* ctx, int fd, endpoint_t* ep );
+// ------ misc ---------------------------------------------------
+static inline void incr_ep_counts( int state, endpoint_t* ep ); // must declare for static includes, but after headers
+
#endif
#endif