=================================================================== RCS file: /home/cvs/OpenXM_contrib/pari-2.2/src/gp/Attic/gp.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- OpenXM_contrib/pari-2.2/src/gp/Attic/gp.h 2001/10/02 11:17:06 1.1 +++ OpenXM_contrib/pari-2.2/src/gp/Attic/gp.h 2002/09/11 07:26:56 1.2 @@ -1,4 +1,4 @@ -/* $Id: gp.h,v 1.1 2001/10/02 11:17:06 noro Exp $ +/* $Id: gp.h,v 1.2 2002/09/11 07:26:56 noro Exp $ Copyright (C) 2000 The PARI group. @@ -21,10 +21,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, void recover(int flag); void pari_addfunctions(module **modlist_p, entree *func, char **help); -int term_height(); -int term_width(); -void hit_return(); +int term_height(void); +int term_width(void); +void hit_return(void); +extern int secure; extern ulong init_opts; extern char *current_logfile; extern jmp_buf environnement; @@ -32,19 +33,9 @@ extern jmp_buf environnement; /* for do_time() */ enum { ti_NOPRINT, ti_REGULAR, ti_LAST, ti_INTERRUPT }; -/* GP printing format */ -typedef struct gp_format { - char format; /* f, g or h */ - long field; /* (0 = ignore) */ - long nb; /* significant digits for reals (-1 = all) */ -} gp_format; - /* default functions (i.e setd*) */ #define is_default(s) setdefault((s),"",d_EXISTS)==gun enum { d_ACKNOWLEDGE, d_INITRC, d_SILENT, d_RETURN, d_EXISTS }; - -/* output format */ -enum { f_RAW, f_PRETTYMAT, f_PRETTYOLD, f_PRETTY, f_TEX, NBFORMATS }; /* aide() */ #define h_REGULAR 0