changeset 318:f3ba2ba894b1

Rename few HVSC related #defines to have SIDUTIL_ prefix.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 11 Jan 2020 19:11:34 +0200
parents 6291b08730df
children 6d0143e43edf
files sidinfo.c sidutil.c sidutil.h
diffstat 3 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Sat Jan 11 18:35:40 2020 +0200
+++ b/sidinfo.c	Sat Jan 11 19:11:34 2020 +0200
@@ -1211,13 +1211,13 @@
 
         // If SLDB path is not set, autocheck for .md5 and .txt
         if (setSLDBPath == NULL)
-            setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SET_SLDB_FILEBASE, ".md5");
+            setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SIDUTIL_SLDB_FILEBASE, ".md5");
 
         if (setSLDBPath == NULL)
-            setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SET_SLDB_FILEBASE, ".txt");
+            setSLDBPath = sidutil_check_hvsc_file(setHVSCPath, SIDUTIL_SLDB_FILEBASE, ".txt");
 
         if (setSTILDBPath == NULL)
-            setSTILDBPath = sidutil_check_hvsc_file(setHVSCPath, SET_STILDB_FILENAME, NULL);
+            setSTILDBPath = sidutil_check_hvsc_file(setHVSCPath, SIDUTIL_STILDB_FILENAME, NULL);
     }
 
     if (setSLDBPath != NULL)
--- a/sidutil.c	Sat Jan 11 18:35:40 2020 +0200
+++ b/sidutil.c	Sat Jan 11 19:11:34 2020 +0200
@@ -127,7 +127,7 @@
     th_stat_data sdata;
     char *npath = th_strdup_printf("%s%c%s%c%s%s",
         hvscPath, TH_DIR_SEPARATOR_CHR,
-        SET_HVSC_DOCUMENTS, TH_DIR_SEPARATOR_CHR,
+        SIDUTIL_HVSC_DOCUMENTS, TH_DIR_SEPARATOR_CHR,
         filebase, fext != NULL ? fext : "");
 
     if (npath != NULL &&
--- a/sidutil.h	Sat Jan 11 18:35:40 2020 +0200
+++ b/sidutil.h	Sat Jan 11 19:11:34 2020 +0200
@@ -22,13 +22,13 @@
 //
 
 // HVSC documents directory
-#define SET_HVSC_DOCUMENTS   "DOCUMENTS"
+#define SIDUTIL_HVSC_DOCUMENTS   "DOCUMENTS"
 
 // Songlengths database filename prefix (.md5|.txt appended)
-#define SET_SLDB_FILEBASE    "Songlengths"
+#define SIDUTIL_SLDB_FILEBASE    "Songlengths"
 
 // STIL database file
-#define SET_STILDB_FILENAME  "STIL.txt"
+#define SIDUTIL_STILDB_FILENAME  "STIL.txt"
 
 
 enum