Bugzilla Bug 349011: marked local functions as static. The patch is

contributed by timeless <timeless@bemail.org>. r=wtc.
Modified files: crmfcont.c crmfpop.c crmfreq.c
This commit is contained in:
wtchang%redhat.com 2006-08-18 22:21:34 +00:00
Родитель f5fa1c2b1c
Коммит 1e8aeab6bb
3 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -105,7 +105,7 @@ crmf_add_new_control(CRMFCertRequest *inCertReq,SECOidTag inTag,
}
SECStatus
static SECStatus
crmf_add_secitem_control(CRMFCertRequest *inCertReq, SECItem *value,
SECOidTag inTag)
{
@ -315,7 +315,7 @@ crmf_copy_encryptedkey(PRArenaPool *poolp,
return SECFailure;
}
CRMFPKIArchiveOptions*
static CRMFPKIArchiveOptions*
crmf_create_encr_pivkey_option(CRMFEncryptedKey *inEncryptedKey)
{
CRMFPKIArchiveOptions *newArchOpt;
@ -655,7 +655,7 @@ crmf_decode_params(SECItem *inParams)
return params;
}
int
static int
crmf_get_key_size_from_mech(CK_MECHANISM_TYPE mechType)
{
CK_MECHANISM_TYPE keyGen = PK11_GetKeyGen(mechType);
@ -1101,7 +1101,7 @@ CRMF_CertRequestSetPKIArchiveOptions(CRMFCertRequest *inCertReq,
return SECFailure;
}
SECStatus
static SECStatus
crmf_destroy_control(CRMFControl *inControl, PRBool freeit)
{
PORT_Assert(inControl != NULL);

Просмотреть файл

@ -93,7 +93,7 @@ CRMF_CertReqMsgSetRAVerifiedPOP(CRMFCertReqMsg *inCertReqMsg)
return SECFailure;
}
SECOidTag
static SECOidTag
crmf_get_key_sign_tag(SECKEYPublicKey *inPubKey)
{
/* maintain backward compatibility with older
@ -104,7 +104,7 @@ crmf_get_key_sign_tag(SECKEYPublicKey *inPubKey)
return SEC_GetSignatureAlgorithmOidTag(inPubKey->keyType, SEC_OID_UNKNOWN);
}
SECAlgorithmID*
static SECAlgorithmID*
crmf_create_poposignkey_algid(PRArenaPool *poolp,
SECKEYPublicKey *inPubKey)
{

Просмотреть файл

@ -611,7 +611,7 @@ CRMF_CreateCertExtension(SECOidTag id,
return crmf_create_cert_extension(NULL, id, isCritical, data);
}
SECStatus
static SECStatus
crmf_destroy_cert_extension(CRMFCertExtension *inExtension, PRBool freeit)
{
if (inExtension != NULL) {