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
+3 -3
View File
@@ -310,10 +310,10 @@ METHOD(mac_t, destroy, void,
free(this);
}
/*
* Described in header
/**
* Create a generic mac_t object
*/
mac_t *cmac_create(encryption_algorithm_t algo, size_t key_size)
static mac_t *cmac_create(encryption_algorithm_t algo, size_t key_size)
{
private_mac_t *this;
crypter_t *crypter;