summaryrefslogtreecommitdiff
path: root/tools/d2c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/d2c')
-rw-r--r--tools/d2c/decl.h2
-rw-r--r--tools/d2c/format/decl.h2
-rw-r--r--tools/d2c/grammar.y4
-rw-r--r--tools/d2c/id/decl.h2
4 files changed, 3 insertions, 7 deletions
diff --git a/tools/d2c/decl.h b/tools/d2c/decl.h
index bcca0ff..1214d01 100644
--- a/tools/d2c/decl.h
+++ b/tools/d2c/decl.h
@@ -34,4 +34,4 @@ rented_coder *process_definition_file(const char *, pre_processor *);
-#endif /* _TOOLS_D2C_BITS_DECL_H */
+#endif /* _TOOLS_D2C_DECL_H */
diff --git a/tools/d2c/format/decl.h b/tools/d2c/format/decl.h
index e3e4c9c..b12f853 100644
--- a/tools/d2c/format/decl.h
+++ b/tools/d2c/format/decl.h
@@ -34,4 +34,4 @@ bool load_format_from_raw_line(operands_format *, const char *);
-#endif /* _TOOLS_D2C_BITS_DECL_H */
+#endif /* _TOOLS_D2C_FORMAT_DECL_H */
diff --git a/tools/d2c/grammar.y b/tools/d2c/grammar.y
index 4444299..14959cf 100644
--- a/tools/d2c/grammar.y
+++ b/tools/d2c/grammar.y
@@ -1,7 +1,6 @@
%{
-#include <getopt.h>//////
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
@@ -15,9 +14,6 @@
/* Affiche un message d'erreur suite à l'analyse en échec. */
static int yyerror(rented_coder *, char *, char *);
-/* Affiche des indications sur l'utilisation du programme. */
-static void show_usage(const char *);
-
/* Prépare le traitement d'un contenu en l'affichant en mémoire. */
static void *map_input_data(const char *, size_t *);
diff --git a/tools/d2c/id/decl.h b/tools/d2c/id/decl.h
index e494b9f..cd156bd 100644
--- a/tools/d2c/id/decl.h
+++ b/tools/d2c/id/decl.h
@@ -37,4 +37,4 @@ bool load_id_from_raw_line(instr_id *, const char *);
-#endif /* _TOOLS_D2C_BITS_DECL_H */
+#endif /* _TOOLS_D2C_ID_DECL_H */