]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
curve25519-donna-c64: make endian-neutralness fns static
authorNick Mathewson <nickm@torproject.org>
Tue, 4 Dec 2012 03:59:33 +0000 (22:59 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 2 Jan 2013 19:11:13 +0000 (14:11 -0500)
src/ext/curve25519_donna/curve25519-donna-c64.c

index b30bfbf15e121d6bbcf7f7c6a572baee33427b7d..b8ad62ea39cddfa9dbc734e71e1c2aeb3d2bdf40 100644 (file)
@@ -187,7 +187,7 @@ fsquare_times(felem output, const felem in, limb count) {
 }
 
 /* Load a little-endian 64-bit number  */
-limb
+static limb
 load_limb(const u8 *in)
 {
   return
@@ -201,7 +201,7 @@ load_limb(const u8 *in)
     (((limb)in[7]) << 56);
 }
 
-void
+static void
 store_limb(u8 *out, limb in)
 {
   out[0] = in & 0xff;