diff options
author | nijtmans <nijtmans@noemail.net> | 2011-01-19 08:04:47 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2011-01-19 08:04:47 (GMT) |
commit | 155c6ec07106ff7067c535b3563954aac2b6bb34 (patch) | |
tree | 185a475f093fa656e97af07f3f4ffe6628c7b865 /generic/tclTomMathDecls.h | |
parent | 826a2c8dc74ce2233fc37d4fc366c7fc5405ba8e (diff) | |
download | tcl-155c6ec07106ff7067c535b3563954aac2b6bb34.zip tcl-155c6ec07106ff7067c535b3563954aac2b6bb34.tar.gz tcl-155c6ec07106ff7067c535b3563954aac2b6bb34.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.
FossilOrigin-Name: 1b43842ad6d704ba329a6651740638c9b05a2e4e
Diffstat (limited to 'generic/tclTomMathDecls.h')
-rw-r--r-- | generic/tclTomMathDecls.h | 6 |
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 */ |