[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323

Bernhard R. Link brlink at debian.org
Tue Apr 24 15:54:31 UTC 2012


The following commit has been merged in the cleanedupstream branch:
commit 452da0dfdc7c82e7e037f245aa17f26d2c1a57b9
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date:   Thu Mar 29 16:00:04 2012 +0200

    fix: more const

diff --git a/Singular/ipid.h b/Singular/ipid.h
index 027e763..bf6142e 100644
--- a/Singular/ipid.h
+++ b/Singular/ipid.h
@@ -80,8 +80,8 @@ typedef struct
 /* module support */
 typedef int (*SModulFunc_t)(SModulFunctions*);
 BOOLEAN load_builtin(char *newlib, BOOLEAN autoexport, SModulFunc_t init);
-void module_help_main(char *newlib,const char *help);
-void module_help_proc(char *newlib,const char *p, const char *help);
+void module_help_main(const char *newlib,const char *help);
+void module_help_proc(const char *newlib,const char *p, const char *help);
 
 /* ================================================================== */
 
diff --git a/Singular/iplib.cc b/Singular/iplib.cc
index 850ee80..cefcf0e 100644
--- a/Singular/iplib.cc
+++ b/Singular/iplib.cc
@@ -1165,7 +1165,7 @@ BOOLEAN load_builtin(char *newlib, BOOLEAN autoexport, SModulFunc_t init)
   return FALSE;
 }
 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
-void module_help_main(char *newlib,const char *help)
+void module_help_main(const char *newlib,const char *help)
 {
   char *plib = iiConvName(newlib);
   idhdl pl = basePack->idroot->get(plib,0); /* always start at Top level */
@@ -1180,7 +1180,7 @@ void module_help_main(char *newlib,const char *help)
     currPack=s;
   }
 }
-void module_help_proc(char *newlib,const char *p, const char *help)
+void module_help_proc(const char *newlib,const char *p, const char *help)
 {
   char *plib = iiConvName(newlib);
   idhdl pl = basePack->idroot->get(plib,0);

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list