Skip to content

Commit e9696d4

Browse files
committed
add NEWS README AUTHORS and delete some warnning
1 parent c65abc1 commit e9696d4

File tree

7 files changed

+8
-6
lines changed

7 files changed

+8
-6
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Makefile.am

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ lib_LTLIBRARIES =
99

1010
bin_PROGRAMS =
1111

12+
dist_doc_DATA =
1213

1314
if HAVE_INTEL_SOFT_CPM
1415
INTEL_SOFT_CPM_SOURCES = src/sfutil/intel-soft-cpm.c src/sfutil/intel-soft-cpm.h
1516
endif
1617

17-
libmpse_la_CXXFLAGS =
1818
MPSE_INCLUDES = src/mpse/str_search.h \
1919
src/mpse/boyer_moore.h \
2020
src/mpse/mpse.h \
@@ -28,7 +28,7 @@ MPSE_INCLUDES = src/mpse/str_search.h \
2828
src/mpse/bnfa_search.h \
2929
src/mpse/acsmx.h
3030

31-
libmpse_la_CXXFLAGS =
31+
libmpse_la_CXXFLAGS =
3232

3333
lib_LTLIBRARIES += libmpse.la
3434
libmpse_la_SOURCES = src/mpse/acsmx2.c \
@@ -61,7 +61,6 @@ libmpse_la_SOURCES = src/mpse/acsmx2.c \
6161
src/mpse/snort.h \
6262
$(INTEL_SOFT_CPM_SOURCES)
6363

64-
libtmpse_la_LIBADD = libmpse.la
6564
libmpse_la_LDFLAGS = -version-info @MPSE_SO_VERSION@ $(AM_LDFLAGS)
6665

6766
bin_PROGRAMS += bm_test

NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MPSE

README

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MPSE

configure.ac

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ AC_SUBST(MPSE_SO_VERSION)
1111

1212
# The argument here is just something that should be in the current directory
1313
# (for sanity checking)
14-
AC_CONFIG_SRCDIR(README)
1514
AC_CONFIG_MACRO_DIR([m4])
1615
AC_CANONICAL_HOST
1716
AM_INIT_AUTOMAKE([dist-zip])

src/mpse/util.h

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <strings.h>
4545
#endif
4646
#include <string.h>
47+
#include <ctype.h>
4748

4849
#include "sf_types.h"
4950
#include "sflsq.h"

src/test/mpse_test.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "mpse/mpse.h"
55
#include "mpse/str_search.h"
6-
6+
#include "mpse/util.h"
77

88
typedef struct _SearchToken
99
{
@@ -96,7 +96,7 @@ int main( int argc, char ** argv )
9696

9797
TestSearchInit();
9898

99-
int source_len = strlen(argv[1]);
99+
size_t source_len = strlen(argv[1]);
100100

101101
int script_found;
102102
current_search = &search[0];

0 commit comments

Comments
 (0)