From e5c971798d203e7ff2d38142fa341ee34d16e2b1 Mon Sep 17 00:00:00 2001 From: zooko <zooko@zooko.com> Date: Sun, 14 Jun 2009 21:38:37 +0530 Subject: [PATCH] trivial: try to silence a gcc warning about prototypes Ignore-this: d67d4e67a8e598043c94b383e9335caf darcs-hash:4e96879d99ee5b378feb2616bdd0540e9f45a5f4 --- zfec/zfec/_fecmodule.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.45.2