From 45bd32d102d20d039f2c4e717be384b1836646c2 Mon Sep 17 00:00:00 2001 From: Lucinda May Phipps Date: Sat, 23 Apr 2022 17:07:04 +0000 Subject: [PATCH] src/tools/uchardet.cpp: make stuff static --- src/tools/uchardet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tools/uchardet.cpp b/src/tools/uchardet.cpp index 5e49e72..af25acf 100644 --- a/src/tools/uchardet.cpp +++ b/src/tools/uchardet.cpp @@ -45,9 +45,9 @@ #endif #define BUFFER_SIZE 65536 -char buffer[BUFFER_SIZE]; +static char buffer[BUFFER_SIZE]; -void detect(FILE * fp) +static void detect(FILE * fp) { uchardet_t handle = uchardet_new(); @@ -74,7 +74,7 @@ void detect(FILE * fp) uchardet_delete(handle); } -void show_version() +static void show_version() { printf("\n"); printf("uchardet Command Line Tool\n"); @@ -85,7 +85,7 @@ void show_version() printf("\n"); } -void show_usage() +static void show_usage() { show_version(); printf("Usage:\n");