summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Makefile.am2
-rw-r--r--include/fonctions.h14
2 files changed, 3 insertions, 13 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 1747117..bfcbec8 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1 +1 @@
-include_HEADERS = exceptions.h hash.h main.h numbers.h parser.h pile.h polynom.h scalaires.h terminal.h interface.h
+include_HEADERS = exceptions.h hash.h main.h numbers.h parser.h pile.h polynom.h scalaires.h terminal.h interface.h fonctions.h
diff --git a/include/fonctions.h b/include/fonctions.h
index 1b0fbfa..22e166d 100644
--- a/include/fonctions.h
+++ b/include/fonctions.h
@@ -1,18 +1,8 @@
#ifndef __FONCTIONS_H__
#define __FONCTIONS_H__
+#include "polynome.h"
-
-typedef enum func_name {
- DERIV,
- DERIVN,
- INTEG,
- ANS,
- LISTE,
- DELVAR,
- SETDISP,
- HELP,
- EXIT
-} func_name;
+void appel_fonction(char *nom, int arite, polynome p1, polynome p2, polynome p3);
#endif \ No newline at end of file