]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blobdiff - zfec/zfec/_fecmodule.c
finally figured out what the C compiler was trying to tell me about prototypes and...
[tahoe-lafs/zfec.git] / zfec / zfec / _fecmodule.c
index 2f8f82d8aba9f758d4767e7ec50158390407b9ad..38645bcd710b5c52c392afc321eedde7120e482d 100644 (file)
@@ -555,8 +555,9 @@ _hexwrite(unsigned char*s, size_t l) {
     printf("%.2x", s[i]);
 }
 
+
 PyObject*
-test_from_agl(void) {
+test_from_agl(PyObject* self, PyObject* args) {
   unsigned char b0c[8], b1c[8];
   unsigned char b0[8], b1[8], b2[8], b3[8], b4[8];
   memset(b0, 1, 8);
@@ -600,7 +601,7 @@ test_from_agl(void) {
 }
 
 static PyMethodDef fec_functions[] = { 
-  {"test_from_agl", test_from_agl, METH_NOARGS, NULL},
+    {"test_from_agl", test_from_agl, METH_NOARGS, NULL},
     {NULL} 
 };