X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=format.h;h=dbbaec1ff3b54585311ced76fb96572063c713b9;hb=0e1e4e76ddae605f4d587bb7097f7bd86aa6ef16;hp=98492056673e6bffafeb1463bed5e27efa7754ba;hpb=a24bd5195f9990159a974c98751f1473f29b9fa4;p=calc.git diff --git a/format.h b/format.h index 9849205..dbbaec1 100644 --- a/format.h +++ b/format.h @@ -3,16 +3,17 @@ /* global variables */ -extern char *format; -extern char *minform; - /* print function */ -void set_format (char *prompt, int precision); +void set_precision (int precision); +int get_precision (); +void set_prompt (char *prompt); +void set_format (); void free_format (); double print (double value); +double printl (double value); #endif /* __FORMAT_H__ */