Changeset 3455 for pjproject/trunk/pjlib-util/src/pjlib-util/errno.c
- Timestamp:
- Mar 16, 2011 7:34:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/errno.c
r3087 r3455 20 20 #include <pjlib-util/errno.h> 21 21 #include <pjlib-util/types.h> 22 #include <pj/assert.h> 22 23 #include <pj/string.h> 23 24 … … 163 164 PJ_DEF(pj_status_t) pjlib_util_init(void) 164 165 { 165 return pj_register_strerror(PJLIB_UTIL_ERRNO_START, 166 PJ_ERRNO_SPACE_SIZE, 167 &pjlib_util_strerror); 166 pj_status_t status; 167 168 status = pj_register_strerror(PJLIB_UTIL_ERRNO_START, 169 PJ_ERRNO_SPACE_SIZE, 170 &pjlib_util_strerror); 171 pj_assert(status == PJ_SUCCESS); 172 173 return PJ_SUCCESS; 168 174 }
Note: See TracChangeset
for help on using the changeset viewer.