X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvlibapi%2Fapi_types.h;h=c4d8f3bd060a3fbe0ab45c296c5827d26870fb31;hb=e63325e3ca03c847963863446345e6c80a2c0cfd;hp=406ccfa67454661cdc1a936c9b6ea8457851619e;hpb=4ba4edd15085ce31145ef5da6342e435c57c1150;p=vpp.git diff --git a/src/vlibapi/api_types.h b/src/vlibapi/api_types.h index 406ccfa6745..c4d8f3bd060 100644 --- a/src/vlibapi/api_types.h +++ b/src/vlibapi/api_types.h @@ -20,6 +20,8 @@ #ifndef included_api_types_h #define included_api_types_h +#include + #include #include #include @@ -39,7 +41,7 @@ vl_api_to_api_string (u32 len, const char *buf, vl_api_string_t * str) return len + sizeof (u32); } -/* Return a pointer to the API string (not nul terminated */ +/* Return a pointer to the API string (not nul terminated) */ static inline u8 * vl_api_from_api_string (vl_api_string_t * astr) {