Make functions static that are only accessed from the same compilation unit
Also removed some declarations for undefined functions.
This commit is contained in:
@@ -202,7 +202,7 @@ static void add(private_peer_controller_t *this, fast_request_t *request)
|
||||
/**
|
||||
* pem encode a public key into an allocated string
|
||||
*/
|
||||
char* pem_encode(chunk_t der)
|
||||
static char* pem_encode(chunk_t der)
|
||||
{
|
||||
static const char *begin = "-----BEGIN PUBLIC KEY-----\n";
|
||||
static const char *end = "-----END PUBLIC KEY-----";
|
||||
|
||||
Reference in New Issue
Block a user