changeset 283:a00d11de7a71

Staticize.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 08 Jan 2020 01:52:19 +0200
parents 5936a3dc9755
children 5dfe7846e902
files sidinfo.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Wed Jan 08 01:40:52 2020 +0200
+++ b/sidinfo.c	Wed Jan 08 01:52:19 2020 +0200
@@ -510,7 +510,7 @@
 }
 
 
-int siItemFormatStrPutInt(th_vprintf_ctx *ctx, th_vprintf_putch vputch,
+static int siItemFormatStrPutInt(th_vprintf_ctx *ctx, th_vprintf_putch vputch,
     const int value, const int f_radix, int f_flags, int f_width, int f_prec,
     const BOOL f_unsig, th_vprintf_altfmt_func f_alt)
 {
@@ -528,7 +528,8 @@
 }
 
 
-int siItemFormatStrPrintDo(th_vprintf_ctx *ctx, th_vprintf_putch vputch, const char *fmt,
+static int siItemFormatStrPrintDo(th_vprintf_ctx *ctx,
+    th_vprintf_putch vputch, const char *fmt,
     const int otype, const char *d_str, const int d_int)
 {
     int ret = 0;
@@ -714,7 +715,7 @@
 }
 
 
-BOOL siItemFormatStrCheck(const char *fmt, const PSFOption *opt)
+static BOOL siItemFormatStrCheck(const char *fmt, const PSFOption *opt)
 {
     th_vprintf_ctx ctx;
 
@@ -727,7 +728,7 @@
 //
 // Parse a format string into a PSFStack structure
 //
-BOOL argParsePSFormatStr(PSFStack *stack, const char *fmt)
+static BOOL argParsePSFormatStr(PSFStack *stack, const char *fmt)
 {
     PSFStackItem item;
     const char *start = NULL;
@@ -835,7 +836,7 @@
 }
 
 
-BOOL argHandleOpt(const int optN, char *optArg, char *currArg)
+static BOOL argHandleOpt(const int optN, char *optArg, char *currArg)
 {
     switch (optN)
     {