Make functions static that are only accessed from the same compilation unit

Also removed some declarations for undefined functions.
This commit is contained in:
Tobias Brunner
2022-10-05 19:00:46 +02:00
parent c58ba0cb9f
commit 7f46c76125
23 changed files with 29 additions and 70 deletions
+1 -1
View File
@@ -315,7 +315,7 @@ METHOD(sw_collector_db_t, destroy, void,
/**
* Determine file creation data and convert it into RFC 3339 format
*/
bool get_file_creation_date(char *pathname, char *timestamp)
static bool get_file_creation_date(char *pathname, char *timestamp)
{
struct stat st;
struct tm ct;