summaryrefslogtreecommitdiff
path: root/tools/d2c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-09-18 23:26:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-09-18 23:26:47 (GMT)
commit5c31b8362235b7423dced633866a2d4507c63251 (patch)
treeddc54cc5f6125d5fb43d383068f8929430a16b1d /tools/d2c
parentbec97699f21d4dadcdc1a9f26985c699a374655d (diff)
Introduce a new tool to convert rules: yara2rost.
Diffstat (limited to 'tools/d2c')
-rw-r--r--tools/d2c/grammar.y4
1 files changed, 0 insertions, 4 deletions
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 *);