From c4ccbdc9e7f70e099e2ffa250f505881b3c0763b Mon Sep 17 00:00:00 2001 From: "David E. Tiller" <3858971+dtiller@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:03:51 -0400 Subject: [PATCH] Added msg re: BCH code and added protective #ifndefs. --- src/eotd.h | 5 +++++ src/pkttest.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/eotd.h b/src/eotd.h index 3a55158..78e12f7 100644 --- a/src/eotd.h +++ b/src/eotd.h @@ -1 +1,6 @@ +#ifndef __EOTD_H +#define __EOTD_H + void eotd_to_text (unsigned char *ais, int ais_len, char *text, int text_size); + +#endif diff --git a/src/pkttest.c b/src/pkttest.c index c15885e..6d70bc7 100644 --- a/src/pkttest.c +++ b/src/pkttest.c @@ -34,6 +34,7 @@ int main(int argc, char **argv) { if (argc < 5) { fprintf(stderr, "Expecting 4+ arguments - m, length, t, type (F or R) and optionally rev to reverse the input bytes.\n"); + fprintf(stderr, "THE BCH CODE IS NOT VERIFIED!\n"); return -1; }