From: zooko Date: Sun, 14 Jun 2009 16:08:37 +0000 (+0530) Subject: trivial: try to silence a gcc warning about prototypes X-Git-Url: https://git.rkrishnan.org/pf/content/statistics?a=commitdiff_plain;h=e5c971798d203e7ff2d38142fa341ee34d16e2b1;p=tahoe-lafs%2Fzfec.git trivial: try to silence a gcc warning about prototypes Ignore-this: d67d4e67a8e598043c94b383e9335caf darcs-hash:4e96879d99ee5b378feb2616bdd0540e9f45a5f4 --- diff --git a/zfec/zfec/_fecmodule.c b/zfec/zfec/_fecmodule.c index 2f8f82d..21e3e62 100644 --- a/zfec/zfec/_fecmodule.c +++ b/zfec/zfec/_fecmodule.c @@ -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);