Change the return type of isc_lex_create() to void
The isc_lex_create() cannot fail, so cleanup the return type from isc_result_t to void.
This commit is contained in:
@@ -142,7 +142,7 @@ typedef struct isc_token {
|
||||
*** Functions
|
||||
***/
|
||||
|
||||
isc_result_t
|
||||
void
|
||||
isc_lex_create(isc_mem_t *mctx, size_t max_token, isc_lex_t **lexp);
|
||||
/*%<
|
||||
* Create a lexer.
|
||||
|
||||
Reference in New Issue
Block a user