X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=storage.h;h=d538e7b84deaf54d58be9104551696582d64b643;hb=e4c7b5133d7af32573567e4e639f03c8fb11bc79;hp=3a6ef86a5e4a4e36c3a3e7f59d28a663702dcfc7;hpb=a24bd5195f9990159a974c98751f1473f29b9fa4;p=calc.git diff --git a/storage.h b/storage.h index 3a6ef86..d538e7b 100644 --- a/storage.h +++ b/storage.h @@ -1,19 +1,19 @@ #ifndef __STORAGE_H__ #define __STORAGE_H__ -/* global variables */ +#include "tabular.h" -extern double *storage; +/* global variables */ -extern int storage_size; +extern tab_t *storage; /* storage functions */ void memory (int nb); -double store (int index, double value); -double recall (int index); -double increase (int index); -double decrease (int index); +double store (int id, double value); +double recall (int id); +double increase (int id); +double decrease (int id); void display (void); void clear ();