[Python-checkins] CVS: python/dist/src/Modules binascii.c,2.20,2.21
Peter Schneider-Kamp
python-dev@python.org
Mon, 10 Jul 2000 02:49:22 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv5291
Modified Files:
binascii.c
Log Message:
ANSI-fication
Index: binascii.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/binascii.c,v
retrieving revision 2.20
retrieving revision 2.21
diff -C2 -r2.20 -r2.21
*** binascii.c 2000/06/30 23:50:38 2.20
--- binascii.c 2000/07/10 09:49:19 2.21
***************
*** 188,194 ****
static PyObject *
! binascii_a2b_uu(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *ascii_data, *bin_data;
--- 188,192 ----
static PyObject *
! binascii_a2b_uu(PyObject *self, PyObject *args)
{
unsigned char *ascii_data, *bin_data;
***************
*** 265,271 ****
static PyObject *
! binascii_b2a_uu(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *ascii_data, *bin_data;
--- 263,267 ----
static PyObject *
! binascii_b2a_uu(PyObject *self, PyObject *args)
{
unsigned char *ascii_data, *bin_data;
***************
*** 316,323 ****
static int
! binascii_find_valid(s, slen, num)
! char *s;
! int slen;
! int num;
{
/* Finds & returns the (num+1)th
--- 312,316 ----
static int
! binascii_find_valid(unsigned char *s, int slen, int num)
{
/* Finds & returns the (num+1)th
***************
*** 346,352 ****
static PyObject *
! binascii_a2b_base64(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *ascii_data, *bin_data;
--- 339,343 ----
static PyObject *
! binascii_a2b_base64(PyObject *self, PyObject *args)
{
unsigned char *ascii_data, *bin_data;
***************
*** 431,437 ****
static PyObject *
! binascii_b2a_base64(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *ascii_data, *bin_data;
--- 422,426 ----
static PyObject *
! binascii_b2a_base64(PyObject *self, PyObject *args)
{
unsigned char *ascii_data, *bin_data;
***************
*** 484,490 ****
static PyObject *
! binascii_a2b_hqx(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *ascii_data, *bin_data;
--- 473,477 ----
static PyObject *
! binascii_a2b_hqx(PyObject *self, PyObject *args)
{
unsigned char *ascii_data, *bin_data;
***************
*** 550,556 ****
static PyObject *
! binascii_rlecode_hqx(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *in_data, *out_data;
--- 537,541 ----
static PyObject *
! binascii_rlecode_hqx(PyObject *self, PyObject *args)
{
unsigned char *in_data, *out_data;
***************
*** 599,605 ****
static PyObject *
! binascii_b2a_hqx(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *ascii_data, *bin_data;
--- 584,588 ----
static PyObject *
! binascii_b2a_hqx(PyObject *self, PyObject *args)
{
unsigned char *ascii_data, *bin_data;
***************
*** 641,647 ****
static PyObject *
! binascii_rledecode_hqx(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *in_data, *out_data;
--- 624,628 ----
static PyObject *
! binascii_rledecode_hqx(PyObject *self, PyObject *args)
{
unsigned char *in_data, *out_data;
***************
*** 740,746 ****
static PyObject *
! binascii_crc_hqx(self, args)
! PyObject *self;
! PyObject *args;
{
unsigned char *bin_data;
--- 721,725 ----
static PyObject *
! binascii_crc_hqx(PyObject *self, PyObject *args)
{
unsigned char *bin_data;
***************
*** 880,886 ****
static PyObject *
! binascii_crc32(self, args)
! PyObject *self;
! PyObject *args;
{ /* By Jim Ahlstrom; All rights transferred to CNRI */
unsigned char *bin_data;
--- 859,863 ----
static PyObject *
! binascii_crc32(PyObject *self, PyObject *args)
{ /* By Jim Ahlstrom; All rights transferred to CNRI */
unsigned char *bin_data;