]> granicus.if.org Git - onig/commitdiff
refactoring
authorK.Kosako <kosako@sofnec.co.jp>
Fri, 23 Feb 2018 05:27:13 +0000 (14:27 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Fri, 23 Feb 2018 05:27:13 +0000 (14:27 +0900)
src/regcomp.c
src/regparse.c
src/regparse.h

index c559275caac3d7bcb979ba9e257d4a1749d9b18b..2696027b217a1db46bf795c632c388e42b6dea3b 100644 (file)
@@ -6301,7 +6301,7 @@ onig_end(void)
   exec_end_call_list();
 
 #ifdef USE_CALLOUT
-  onig_global_callout_name_list_free();
+  onig_global_callout_names_free();
 #endif
 
   onig_inited = 0;
index 4c83260f1758d69d8fe0fc76577f16b060e6fcbb..ddc9ed1e3516be58f919ede33d1f9e868aae1421 100644 (file)
@@ -1673,7 +1673,7 @@ onig_get_callout_name_from_name_id(int name_id)
 }
 
 extern int
-onig_global_callout_name_list_free(void)
+onig_global_callout_names_free(void)
 {
   free_callout_func_list(GlobalCalloutNameList);
   GlobalCalloutNameList = 0;
index 582e3f7a09d87e6fc33e8879ee50794a00a5636e..2e42003c03ef137eae493c065b22936d573da107 100644 (file)
@@ -448,7 +448,7 @@ extern int    onig_is_code_in_cc P_((OnigEncoding enc, OnigCodePoint code, CClas
 extern OnigLen onig_get_tiny_min_len(Node* node, unsigned int inhibit_node_types, int* invalid_node);
 
 #ifdef USE_CALLOUT
-extern int onig_global_callout_name_list_free(void);
+extern int onig_global_callout_names_free(void);
 #endif
 
 #ifdef ONIG_DEBUG