correct convertion from non decimal base
[calc.git] / format.h
index d2f8f4ff0fc69fd655a41b125df4d1e30bbcf22b..3a376a0f58dc067e5758d360a58cce03fcb14f4b 100644 (file)
--- a/format.h
+++ b/format.h
@@ -3,9 +3,6 @@
 
 /* global variables */
 
-extern int ibase;
-extern int obase;
-
 /* print function */
 
 void set_precision (int precision);
@@ -15,6 +12,10 @@ void set_format ();
 
 void free_format ();
 
+void set_base (int in, int out);
+char *show_base ();
+int get_ibase ();
+
 double print (double value);
 double printl (double value);