Author: petdance
Date: Thu May 31 11:49:41 2007
New Revision: 18708

Modified:
   trunk/src/nci_test.c

Log:
consting the call_back func

Modified: trunk/src/nci_test.c
==============================================================================
--- trunk/src/nci_test.c        (original)
+++ trunk/src/nci_test.c        Thu May 31 11:49:41 2007
@@ -58,7 +58,7 @@
 
 */
 
-PARROT_API int    call_back(char *str);
+PARROT_API int    call_back(const char *str);
 PARROT_API char   nci_c(void);
 PARROT_API char   nci_csc(short, char);
 PARROT_API double nci_d(void);
@@ -268,7 +268,7 @@
 }
 
 PARROT_API int
-call_back(char *str) {
+call_back(const char *str) {
     puts(str);
     fflush(stdout);
 
@@ -341,7 +341,7 @@
         case 5:
             {
                 static struct {
-                    int (*f)(char *);
+                    int (*f)(const char *);
                 } t = {
                      call_back
                 };

Reply via email to