Update of /cvsroot/mahogany/M/lib/imap/src/osdep/unix
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24872/lib/imap/src/osdep/unix

Modified Files:
        mh.c mx.c mx.h news.c 
Log Message:
added missing consts to suppress warnings about passing pointers of incompatible type 
to scnadir()

Index: mh.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/imap/src/osdep/unix/mh.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -b -u -2 -r1.1.1.2 -r1.2
--- mh.c        28 Apr 2004 22:38:33 -0000      1.1.1.2
+++ mh.c        2 May 2004 09:50:14 -0000       1.2
@@ -76,5 +76,5 @@
 long mh_append (MAILSTREAM *stream,char *mailbox,append_t af,void *data);
 
-int mh_select (struct direct *name);
+int mh_select (const struct direct *name);
 int mh_numsort (const void *d1,const void *d2);
 char *mh_file (char *dst,char *name);
@@ -1006,5 +1006,5 @@
  */
 
-int mh_select (struct direct *name)
+int mh_select (const struct direct *name)
 {
   char c;

Index: mx.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/imap/src/osdep/unix/mx.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -b -u -2 -r1.1.1.2 -r1.2
--- mx.c        28 Apr 2004 22:38:35 -0000      1.1.1.2
+++ mx.c        2 May 2004 09:50:15 -0000       1.2
@@ -976,5 +976,5 @@
  */
 
-int mx_select (struct direct *name)
+int mx_select (const struct direct *name)
 {
   char c;

Index: mx.h
===================================================================
RCS file: /cvsroot/mahogany/M/lib/imap/src/osdep/unix/mx.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -b -u -2 -r1.1.1.1 -r1.2
--- mx.h        24 Apr 2004 21:47:09 -0000      1.1.1.1
+++ mx.h        2 May 2004 09:50:15 -0000       1.2
@@ -27,3 +27,3 @@
 /* Function prototypes */
 
-int mx_select (struct direct *name);
+int mx_select (const struct direct *name);

Index: news.c
===================================================================
RCS file: /cvsroot/mahogany/M/lib/imap/src/osdep/unix/news.c,v
retrieving revision 1.1.1.2
retrieving revision 1.2
diff -b -u -2 -r1.1.1.2 -r1.2
--- news.c      28 Apr 2004 22:38:31 -0000      1.1.1.2
+++ news.c      2 May 2004 09:50:15 -0000       1.2
@@ -63,5 +63,5 @@
 long news_rename (MAILSTREAM *stream,char *old,char *newname);
 MAILSTREAM *news_open (MAILSTREAM *stream);
-int news_select (struct direct *name);
+int news_select (const struct direct *name);
 int news_numsort (const void *d1,const void *d2);
 void news_close (MAILSTREAM *stream,long options);
@@ -391,5 +391,5 @@
  */
 
-int news_select (struct direct *name)
+int news_select (const struct direct *name)
 {
   char c;



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to