Skip to content

Commit

Permalink
Fix version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Aug 23, 2021
1 parent 7e0fdf2 commit 39d5921
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions libyara/include/yara/libyara.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#define YR_MAJOR_VERSION 4
#define YR_MINOR_VERSION 1
#define YR_MICRO_VERSION 0
#define YR_MICRO_VERSION 1

#define version_str(s) _version_str(s)
#define _version_str(s) #s
Expand All @@ -48,7 +48,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define YR_VERSION_HEX \
((YR_MAJOR_VERSION << 16) | (YR_MINOR_VERSION << 8) | (YR_MICRO_VERSION << 0))


// Turn on paranoid mode by default if not defined otherwise. In paranoid
// mode additional checks are performed in order to mitigate the effects of
// malicious tampering with compiled rules. Such checks are not necessary
Expand All @@ -67,7 +66,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define YR_PARANOID_EXEC 1
#endif


// Enumerated type listing configuration options
typedef enum _YR_CONFIG_NAME
{
Expand All @@ -79,12 +77,10 @@ typedef enum _YR_CONFIG_NAME

} YR_CONFIG_NAME;


#define DEFAULT_STACK_SIZE 16384
#define DEFAULT_MAX_STRINGS_PER_RULE 10000
#define DEFAULT_MAX_MATCH_DATA 512


YR_API int yr_initialize(void);

YR_API int yr_finalize(void);
Expand All @@ -93,5 +89,4 @@ YR_API int yr_set_configuration(YR_CONFIG_NAME, void*);

YR_API int yr_get_configuration(YR_CONFIG_NAME, void*);


#endif

0 comments on commit 39d5921

Please sign in to comment.