cn-uofbasel / ccn-lite

CCN-lite, a lightweight implementation of the CCNx protocol and its variations
ISC License
74 stars 63 forks source link

ccnl-riot: remove from CS in ccnl thread context #255

Closed cgundogan closed 6 years ago

cgundogan commented 6 years ago

Contribution description

Removes content from the content store in ccnls thread context.

See #254. Depends on #254

Issues/PRs references

none

mfrey commented 6 years ago

Build fails because of variable declaration inside for loop.

/home/runner/ccn-lite/src/ccnl-core/src/ccnl-relay.c:1077:5: error: ‘for’ loop initial 
 declarations are only allowed in C99 mode
     for (struct ccnl_content_s *c = ccnl->contents; c; c = c->next) {