From 19a04511ba3e2b8eb6c6e3c907a7e5452b46414e Mon Sep 17 00:00:00 2001 From: Austin Chu Date: Wed, 12 Apr 2017 20:40:08 -0400 Subject: [PATCH 1/2] [fix] typo in compiler warning when no CBLAS found --- src/matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix.h b/src/matrix.h index d0f43a71..6fe035b7 100644 --- a/src/matrix.h +++ b/src/matrix.h @@ -16,7 +16,7 @@ #ifdef HAVE_CBLAS #include #else -#warning "No CLBAS" +#warning "No CBLAS" #endif typedef enum { From a966712e18dfc22e53bd85ac440215212c10029e Mon Sep 17 00:00:00 2001 From: Austin Chu Date: Thu, 13 Apr 2017 13:02:03 -0400 Subject: [PATCH 2/2] [fix] add #include guard to tagger.h --- src/tagger.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tagger.h b/src/tagger.h index 650c66e0..a41c5b26 100644 --- a/src/tagger.h +++ b/src/tagger.h @@ -1,5 +1,10 @@ +#ifndef TAGGER_H +#define TAGGER_H + #include "string_utils.h" #include "tokens.h" // Arguments: tagger, context, tokenized str, index -typedef bool (*tagger_feature_function)(void *, void *, tokenized_string_t *, uint32_t); \ No newline at end of file +typedef bool (*tagger_feature_function)(void *, void *, tokenized_string_t *, uint32_t); + +#endif