Skip to content

Commit e810631

Browse files
committed
Mark embedded_options functions as static
They are not used outside of dbdimp.c file, so do not export them.
1 parent 1b4c220 commit e810631

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dbdimp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ PERL_STATIC_INLINE bool mysql_charsetnr_is_utf8(unsigned int id)
513513
/*
514514
count embedded options
515515
*/
516-
int count_embedded_options(char *st)
516+
static int count_embedded_options(char *st)
517517
{
518518
int rc;
519519
char c;
@@ -538,7 +538,7 @@ int count_embedded_options(char *st)
538538
/*
539539
Free embedded options
540540
*/
541-
int free_embedded_options(char ** options_list, int options_count)
541+
static int free_embedded_options(char ** options_list, int options_count)
542542
{
543543
int i;
544544

@@ -556,7 +556,7 @@ int free_embedded_options(char ** options_list, int options_count)
556556
Print out embedded option settings
557557
558558
*/
559-
int print_embedded_options(PerlIO *stream, char ** options_list, int options_count)
559+
static int print_embedded_options(PerlIO *stream, char ** options_list, int options_count)
560560
{
561561
int i;
562562

@@ -573,7 +573,7 @@ int print_embedded_options(PerlIO *stream, char ** options_list, int options_cou
573573
/*
574574
575575
*/
576-
char **fill_out_embedded_options(char *options,
576+
static char **fill_out_embedded_options(char *options,
577577
int options_type,
578578
STRLEN slen, int cnt)
579579
{

0 commit comments

Comments
 (0)