summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathDecls.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2011-01-19 08:04:48 (GMT)
committernijtmans <nijtmans>2011-01-19 08:04:48 (GMT)
commit53f76ae4c76d0f42251c53a6752d5767c23c20b0 (patch)
tree185a475f093fa656e97af07f3f4ffe6628c7b865 /generic/tclTomMathDecls.h
parentcc8366263b4a7bcff79d426bf5ec811715a7d0b7 (diff)
downloadtcl-53f76ae4c76d0f42251c53a6752d5767c23c20b0.zip
tcl-53f76ae4c76d0f42251c53a6752d5767c23c20b0.tar.gz
tcl-53f76ae4c76d0f42251c53a6752d5767c23c20b0.tar.bz2
Make sure to use CONST/VOID in stead of
const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
Diffstat (limited to 'generic/tclTomMathDecls.h')
-rw-r--r--generic/tclTomMathDecls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTomMathDecls.h b/generic/tclTomMathDecls.h
index d3986b4..e485f41 100644
--- a/generic/tclTomMathDecls.h
+++ b/generic/tclTomMathDecls.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTomMathDecls.h,v 1.2.4.2 2010/11/30 20:59:28 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclTomMathDecls.h,v 1.2.4.3 2011/01/19 08:04:49 nijtmans Exp $
*/
#ifndef _TCLTOMMATHDECLS
@@ -325,7 +325,7 @@ EXTERN int TclBN_mp_radix_size(mp_int *a, int radix, int *size);
#ifndef TclBN_mp_read_radix_TCL_DECLARED
#define TclBN_mp_read_radix_TCL_DECLARED
/* 36 */
-EXTERN int TclBN_mp_read_radix(mp_int *a, const char *str,
+EXTERN int TclBN_mp_read_radix(mp_int *a, CONST char *str,
int radix);
#endif
#ifndef TclBN_mp_rshd_TCL_DECLARED
@@ -504,7 +504,7 @@ typedef struct TclTomMathStubs {
int (*tclBN_mp_neg) (mp_int *a, mp_int *b); /* 33 */
int (*tclBN_mp_or) (mp_int *a, mp_int *b, mp_int *c); /* 34 */
int (*tclBN_mp_radix_size) (mp_int *a, int radix, int *size); /* 35 */
- int (*tclBN_mp_read_radix) (mp_int *a, const char *str, int radix); /* 36 */
+ int (*tclBN_mp_read_radix) (mp_int *a, CONST char *str, int radix); /* 36 */
void (*tclBN_mp_rshd) (mp_int *a, int shift); /* 37 */
int (*tclBN_mp_shrink) (mp_int *a); /* 38 */
void (*tclBN_mp_set) (mp_int *a, mp_digit b); /* 39 */