const parameter

This commit is contained in:
Francois Perrad 2019-10-20 17:01:14 +02:00
parent 463205ecef
commit 7f05df0a80
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
#define LTM_MTEST_RAND_SEED 23
#endif
static void draw(mp_int *a)
static void draw(const mp_int *a)
{
ndraw(a, "");
}

View File

@ -1,6 +1,6 @@
#include "shared.h"
void ndraw(mp_int *a, const char *name)
void ndraw(const mp_int *a, const char *name)
{
char *buf = NULL;
int size;

View File

@ -17,5 +17,5 @@
#define MP_WUR /* TODO: result checks disabled for now */
#include "tommath_private.h"
extern void ndraw(mp_int* a, const char* name);
extern void ndraw(const mp_int* a, const char* name);
extern void print_header(void);