]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/commitdiff
trivial: try to silence a gcc warning about prototypes
authorzooko <zooko@zooko.com>
Sun, 14 Jun 2009 16:08:37 +0000 (21:38 +0530)
committerzooko <zooko@zooko.com>
Sun, 14 Jun 2009 16:08:37 +0000 (21:38 +0530)
Ignore-this: d67d4e67a8e598043c94b383e9335caf

darcs-hash:4e96879d99ee5b378feb2616bdd0540e9f45a5f4

zfec/zfec/_fecmodule.c

index 2f8f82d8aba9f758d4767e7ec50158390407b9ad..21e3e628320e2685ba73a22279aad1a1b8e92a46 100644 (file)
@@ -555,8 +555,12 @@ _hexwrite(unsigned char*s, size_t l) {
     printf("%.2x", s[i]);
 }
 
+
+PyObject*
+test_from_agl(); /* <- prototype */
+
 PyObject*
-test_from_agl(void) {
+test_from_agl() {
   unsigned char b0c[8], b1c[8];
   unsigned char b0[8], b1[8], b2[8], b3[8], b4[8];
   memset(b0, 1, 8);