[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src mem_util.c,1.1,1.2 mem_util.h,1.2,1.3
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src mem_util.c,1.1,1.2 mem_util.h,1.2,1.3 |
Date: |
Thu, 06 Feb 2003 03:45:31 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv25308/src
Modified Files:
mem_util.c mem_util.h
Log Message:
constant arguments
Index: mem_util.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/mem_util.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mem_util.c 23 Jan 2003 06:06:40 -0000 1.1
+++ mem_util.c 6 Feb 2003 08:45:28 -0000 1.2
@@ -118,7 +118,7 @@
ay_free(vector);
}
-char ** ay_strsplit(char * str, char * sep, int nelem)
+char ** ay_strsplit(const char * str, const char * sep, int nelem)
{
char ** vector;
char *s, *p;
Index: mem_util.h
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/mem_util.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mem_util.h 26 Jan 2003 06:11:29 -0000 1.2
+++ mem_util.h 6 Feb 2003 08:45:28 -0000 1.3
@@ -54,7 +54,7 @@
# define ay_renew(type, mem, n) (type *)realloc(mem, n)
void * ay_memdup(const void * addr, int n);
-char ** ay_strsplit(char * str, char * sep, int nelem);
+char ** ay_strsplit(const char * str, const char * sep, int nelem);
void ay_strfreev(char ** vector);
int strncasecmp(const char * s1, const char * s2, size_t n);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src mem_util.c,1.1,1.2 mem_util.h,1.2,1.3,
Philip S Tellis <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm/src offline_queue_mgmt.c,NONE,1.1 offline_queue_mgmt.h,NONE,1.1 contact_util.c,NONE,1.1
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.275,1.276 configure.in,1.271,1.272
- Previous by thread:
[Ayttm-commits] CVS: ayttm/src offline_queue_mgmt.c,NONE,1.1 offline_queue_mgmt.h,NONE,1.1 contact_util.c,NONE,1.1
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.275,1.276 configure.in,1.271,1.272
- Index(es):