make aes_setupEnc a static function. Reference: /n/sources/patch/applied/aesstatic Date: Sun Apr 3 11:38:50 CES 2011 Signed-off-by: quanstro@quanstro.net --- /sys/src/libsec/port/aes.c Sun Apr 3 11:38:16 2011 +++ /sys/src/libsec/port/aes.c Sun Apr 3 11:38:11 2011 @@ -59,7 +59,7 @@ }, }; -int aes_setupEnc(ulong rk[/*4*(Nr + 1)*/], const uchar cipherKey[], +static int aes_setupEnc(ulong rk[/*4*(Nr + 1)*/], const uchar cipherKey[], int keyBits); static int aes_setupDec(ulong rk[/*4*(Nr + 1)*/], const uchar cipherKey[], int keyBits); @@ -1158,7 +1158,7 @@ * * @return the number of rounds for the given cipher key size. */ -int +static int aes_setupEnc(ulong rk[/*4*(Nr + 1)*/], const uchar cipherKey[], int keyBits) { int i = 0;