diff options
author | phk <phk@FreeBSD.org> | 2002-10-16 08:48:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-16 08:48:39 +0000 |
commit | 32a73ad530917a145974381a8afcf1c282de9687 (patch) | |
tree | 89ff719c9c7ae5edd6c20e1323063539f8428e22 /sys/dev/ubsec | |
parent | 11d2dcbede9e1dd071a38a4d5e23bde0d7d39b6c (diff) | |
download | FreeBSD-src-32a73ad530917a145974381a8afcf1c282de9687.zip FreeBSD-src-32a73ad530917a145974381a8afcf1c282de9687.tar.gz |
Be consistent about functions being static.
Spotted by: FlexeLint.
Diffstat (limited to 'sys/dev/ubsec')
-rw-r--r-- | sys/dev/ubsec/ubsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index 95b629f..90df6d3 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -183,7 +183,7 @@ static int ubsec_maxbatch = 2; /* XXX tune based on part+sys speed */ SYSCTL_INT(_kern, OID_AUTO, ubsec_maxbatch, CTLFLAG_RW, &ubsec_maxbatch, 0, "Broadcom driver: max ops to batch w/o interrupt"); -int +static int ubsec_probe(device_t dev) { if (pci_get_vendor(dev) == PCI_VENDOR_BLUESTEEL && @@ -2234,7 +2234,7 @@ errout: /* * Start computation of cr[C] = (cr[M] ^ cr[E]) mod cr[N] (hw normalization) */ -int +static int ubsec_kprocess_modexp_hw(struct ubsec_softc *sc, struct cryptkop *krp, int hint) { struct ubsec_q2_modexp *me; |