Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h regex.c 


Log Message:
Fix compiler warning.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -3 -r1.159 -r1.160
--- E.h 13 Dec 2003 14:07:14 -0000      1.159
+++ E.h 13 Dec 2003 14:08:35 -0000      1.160
@@ -2290,8 +2290,7 @@
 void                SoundExit(void);
 
 /* regex.c functions */
-int                 isafter(int p, char *s1, char *s2);
-int                 matchregexp(char *rx, char *s);
+int                 matchregexp(const char *rx, const char *s);
 
 double              GetTime(void);
 void                DoIn(char *name, double in_time,
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/regex.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- regex.c     5 Nov 2003 17:24:46 -0000       1.9
+++ regex.c     13 Dec 2003 14:08:35 -0000      1.10
@@ -22,8 +22,8 @@
  */
 #include "E.h"
 
-int
-isafter(int p, char *s1, char *s2)
+static int
+isafter(int p, const char *s1, const char *s2)
 {
    int                 i, j;
    int                 len, len2;
@@ -54,7 +54,7 @@
 }
 
 int
-matchregexp(char *rx, char *s)
+matchregexp(const char *rx, const char *s)
 {
    int                 i, l, m;
    int                 len, lenr;




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to