Commit d6eba1b0 authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru

bugfix: Fix compilation failure on GCC-13

* conflicting types for grn_object_columns
Make sure functions have the same signature in c and header files.
parent 3430767e
...@@ -1640,8 +1640,9 @@ GRN_API int grn_charlen(grn_ctx *ctx, const char *str, const char *end); ...@@ -1640,8 +1640,9 @@ GRN_API int grn_charlen(grn_ctx *ctx, const char *str, const char *end);
GRN_API grn_rc grn_ctx_push(grn_ctx *ctx, grn_obj *obj); GRN_API grn_rc grn_ctx_push(grn_ctx *ctx, grn_obj *obj);
GRN_API grn_obj *grn_ctx_pop(grn_ctx *ctx); GRN_API grn_obj *grn_ctx_pop(grn_ctx *ctx);
GRN_API int grn_obj_columns(grn_ctx *ctx, grn_obj *table, GRN_API grn_rc grn_obj_columns(grn_ctx *ctx, grn_obj *table,
const char *str, unsigned int str_size, grn_obj *res); const char *str, unsigned int str_size,
grn_obj *res);
GRN_API grn_rc grn_load(grn_ctx *ctx, grn_content_type input_type, GRN_API grn_rc grn_load(grn_ctx *ctx, grn_content_type input_type,
const char *table, unsigned int table_len, const char *table, unsigned int table_len,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment