From 6a9357514a955729cdd1f9145018c0fff2f30547 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 23 Sep 2021 13:37:21 -0400 Subject: [PATCH] Fixed -Wmissing-variable-declarations warnings, made globals static --- tools/psdpng.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/psdpng.c b/tools/psdpng.c index 4692302..9899be4 100644 --- a/tools/psdpng.c +++ b/tools/psdpng.c @@ -16,15 +16,15 @@ #include "kiss_fft.h" #include "kiss_fftr.h" -int nfft=1024; -FILE * fin=NULL; -FILE * fout=NULL; +static int nfft=1024; +static FILE * fin=NULL; +static FILE * fout=NULL; -int navg=20; -int remove_dc=0; -int nrows=0; -float * vals=NULL; -int stereo=0; +static int navg=20; +static int remove_dc=0; +static int nrows=0; +static float * vals=NULL; +static int stereo=0; static void config(int argc,char** argv)