diff options
author | biouman <biouman> | 2001-05-02 02:07:49 +0000 |
---|---|---|
committer | biouman <biouman> | 2001-05-02 02:07:49 +0000 |
commit | 1d17018d7ba4f5bd51af5277542b437050a44c7d (patch) | |
tree | 2a1350f6d2333df09547666f57c625d4c92dd70f /lib | |
parent | d3143b4c2ec0df9cec245e1e6a57e4f18ef71726 (diff) |
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fonctions.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/fonctions.c b/lib/fonctions.c index 2600f98..ab3024c 100644 --- a/lib/fonctions.c +++ b/lib/fonctions.c @@ -10,9 +10,15 @@ #include "main.h" #include "scalaires.h" #include "terminal.h" +#include "exceptions.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#else +#define _(x) x +#endif -typedef (void)(*func_name)(polynome arg1, polynome arg2, polynome arg3); +typedef void (*func_name)(polynome arg1, polynome arg2, polynome arg3); typedef struct func_t { func_name func; @@ -32,7 +38,7 @@ static func_t func_table[] = { { reinit, "reinit", 0 }, { exit_call, "exit", 0 }, { NULL, NULL, -1 } -} +}; void appel_fonction(char *nom, int arite, polynome p1, polynome p2, polynome p3) { |