Skip to content

Commit

Permalink
Minor clang warnings fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Champ Clark authored and Champ Clark committed Oct 22, 2015
1 parent 4b454f2 commit 57c793e
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 107 deletions.
78 changes: 39 additions & 39 deletions Makefile
Expand Up @@ -75,9 +75,9 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = x86_64-unknown-linux-gnu
host_triplet = x86_64-unknown-linux-gnu
target_triplet = x86_64-unknown-linux-gnu
build_triplet = x86_64-apple-darwin13.4.0
host_triplet = x86_64-apple-darwin13.4.0
target_triplet = x86_64-apple-darwin13.4.0
subdir = .
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
Expand Down Expand Up @@ -197,13 +197,13 @@ distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /home/champ/code/sagan/missing aclocal-1.13
ACLOCAL = ${SHELL} /Users/champ/code/sagan/missing aclocal-1.13
AMTAR = $${TAR-tar}
AM_DEFAULT_VERBOSITY = 1
AUTOCONF = ${SHELL} /home/champ/code/sagan/missing autoconf
AUTOHEADER = ${SHELL} /home/champ/code/sagan/missing autoheader
AUTOMAKE = ${SHELL} /home/champ/code/sagan/missing automake-1.13
AWK = gawk
AUTOCONF = ${SHELL} /Users/champ/code/sagan/missing autoconf
AUTOHEADER = ${SHELL} /Users/champ/code/sagan/missing autoheader
AUTOMAKE = ${SHELL} /Users/champ/code/sagan/missing automake-1.13
AWK = awk
CC = gcc
CCAS = gcc
CCASDEPMODE = depmode=gcc3
Expand All @@ -215,33 +215,33 @@ CPPFLAGS =
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
ECHO_C =
ECHO_N = -n
ECHO_C = \c
ECHO_N =
ECHO_T =
EGREP = /bin/grep -E
EGREP = /usr/bin/grep -E
ENDIAN = little
EXEEXT =
GREP = /bin/grep
GREP = /usr/bin/grep
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
JSONC_CFLAGS = -I/usr/include/json
JSONC_LIBS = -ljson
JSON_C_CFLAGS = -I/usr/include/json
JSON_C_LIBS = -ljson
JSONC_CFLAGS = -I/usr/local/Cellar/json-c/0.11/include/json-c
JSONC_LIBS = -L/usr/local/Cellar/json-c/0.11/lib -ljson-c
JSON_C_CFLAGS =
JSON_C_LIBS =
LDFLAGS =
LIBESTR_CFLAGS =
LIBESTR_LIBS = -L/usr/lib -lestr
LIBESTR_LIBS =
LIBLOGNORM_CFLAGS =
LIBLOGNORM_LIBS = -L/usr/lib -llognorm -lestr
LIBOBJS =
LIBS = -lcurl -ldnet -llognorm -lestr -ljson -lesmtp -lmaxminddb -lm -lpthread -lpcre
LTLIBOBJS =
LIBLOGNORM_LIBS =
LIBOBJS = ${LIBOBJDIR}lstat$U.o
LIBS = -ljson-c -lm -lpthread -lpcre
LTLIBOBJS = ${LIBOBJDIR}lstat$U.lo
MAINT = #
MAKEINFO = ${SHELL} /home/champ/code/sagan/missing makeinfo
MKDIR_P = /bin/mkdir -p
MAKEINFO = ${SHELL} /Users/champ/code/sagan/missing makeinfo
MKDIR_P = ./install-sh -c -d
OBJEXT = o
PACKAGE = sagan
PACKAGE_BUGREPORT =
Expand All @@ -251,45 +251,45 @@ PACKAGE_TARNAME =
PACKAGE_URL =
PACKAGE_VERSION =
PATH_SEPARATOR = :
PKG_CONFIG = /usr/bin/pkg-config
PKG_CONFIG = /usr/local/bin/pkg-config
PKG_CONFIG_LIBDIR =
PKG_CONFIG_PATH =
SET_MAKE =
SHELL = /bin/sh
SIMD_FLAGS = -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1
SIMD_FLAGS = -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx
STRIP =
VERSION = 1.0.0-RC5
abs_builddir = /home/champ/code/sagan
abs_srcdir = /home/champ/code/sagan
abs_top_builddir = /home/champ/code/sagan
abs_top_srcdir = /home/champ/code/sagan
abs_builddir = /Users/champ/code/sagan
abs_srcdir = /Users/champ/code/sagan
abs_top_builddir = /Users/champ/code/sagan
abs_top_srcdir = /Users/champ/code/sagan
ac_ct_CC = gcc
am__include = include
am__leading_dot = .
am__quote =
am__tar = $${TAR-tar} chof - "$$tardir"
am__untar = $${TAR-tar} xf -
bindir = ${exec_prefix}/bin
build = x86_64-unknown-linux-gnu
build = x86_64-apple-darwin13.4.0
build_alias =
build_cpu = x86_64
build_os = linux-gnu
build_vendor = unknown
build_os = darwin13.4.0
build_vendor = apple
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = x86_64-unknown-linux-gnu
host = x86_64-apple-darwin13.4.0
host_alias =
host_cpu = x86_64
host_os = linux-gnu
host_vendor = unknown
host_os = darwin13.4.0
host_vendor = apple
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/champ/code/sagan/install-sh
install_sh = ${SHELL} /Users/champ/code/sagan/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
Expand All @@ -305,11 +305,11 @@ sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target = x86_64-unknown-linux-gnu
target = x86_64-apple-darwin13.4.0
target_alias =
target_cpu = x86_64
target_os = linux-gnu
target_vendor = unknown
target_os = darwin13.4.0
target_vendor = apple
top_build_prefix =
top_builddir = .
top_srcdir = .
Expand Down
36 changes: 18 additions & 18 deletions config.h
Expand Up @@ -17,7 +17,7 @@
#define HAVE_ARPA_INET_H 1

/* Support AVX (Advanced Vector Extensions) instructions */
/* #undef HAVE_AVX */
#define HAVE_AVX /**/

/* Define to 1 if you have the `connect' function. */
#define HAVE_CONNECT 1
Expand All @@ -26,7 +26,7 @@
#define HAVE_CTYPE_H 1

/* Define to 1 if you have the <dnet.h> header file. */
#define HAVE_DNET_H 1
/* #undef HAVE_DNET_H */

/* Define to 1 if you have the <dumbnet.h> header file. */
/* #undef HAVE_DUMBNET_H */
Expand All @@ -53,7 +53,7 @@
#define HAVE_GETOPT_LONG 1

/* F_GETPIPE_SZ is supported */
#define HAVE_GETPIPE_SZ /**/
/* #undef HAVE_GETPIPE_SZ */

/* Define to 1 if you have the `htons' function. */
#define HAVE_HTONS 1
Expand All @@ -62,34 +62,34 @@
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the `curl' library (-lcurl). */
#define HAVE_LIBCURL 1
/* #undef HAVE_LIBCURL */

/* Define to 1 if you have the `dnet' library (-ldnet). */
#define HAVE_LIBDNET 1
/* #undef HAVE_LIBDNET */

/* Define to 1 if you have the `dumbnet' library (-ldumbnet). */
/* #undef HAVE_LIBDUMBNET */

/* Define to 1 if you have the `esmtp' library (-lesmtp). */
#define HAVE_LIBESMTP 1
/* #undef HAVE_LIBESMTP */

/* Define to 1 if you have the `estr' library (-lestr). */
#define HAVE_LIBESTR 1
/* #undef HAVE_LIBESTR */

/* Define to 1 if you have the `json' library (-ljson). */
#define HAVE_LIBJSON 1
/* #undef HAVE_LIBJSON */

/* Define to 1 if you have the `json-c' library (-ljson-c). */
/* #undef HAVE_LIBJSON_C */
#define HAVE_LIBJSON_C 1

/* Define to 1 if you have the `lognorm' library (-llognorm). */
#define HAVE_LIBLOGNORM 1
/* #undef HAVE_LIBLOGNORM */

/* Define to 1 if you have the `m' library (-lm). */
#define HAVE_LIBM 1

/* Define to 1 if you have the `maxminddb' library (-lmaxminddb). */
#define HAVE_LIBMAXMINDDB 1
/* #undef HAVE_LIBMAXMINDDB */

/* Define to 1 if you have the `pcap' library (-lpcap). */
/* #undef HAVE_LIBPCAP */
Expand Down Expand Up @@ -139,7 +139,7 @@
#define HAVE_SEND 1

/* F_SETPIPE_SZ is supported */
#define HAVE_SETPIPE_SZ /**/
/* #undef HAVE_SETPIPE_SZ */

/* Define to 1 if you have the `sizeof' function. */
/* #undef HAVE_SIZEOF */
Expand All @@ -163,7 +163,7 @@
#define HAVE_SSE4_1 /**/

/* Support SSSE4.2 (Streaming SIMD Extensions 4.2) instructions */
/* #undef HAVE_SSE4_2 */
#define HAVE_SSE4_2 /**/

/* Support SSSE3 (Supplemental Streaming SIMD Extensions 3) instructions */
#define HAVE_SSSE3 /**/
Expand Down Expand Up @@ -206,10 +206,10 @@
#define HAVE_STRING_H 1

/* Define to 1 if you have the `strlcat' function. */
/* #undef HAVE_STRLCAT */
#define HAVE_STRLCAT 1

/* Define to 1 if you have the `strlcpy' function. */
/* #undef HAVE_STRLCPY */
#define HAVE_STRLCPY 1

/* Define to 1 if you have the `strlen' function. */
#define HAVE_STRLEN 1
Expand Down Expand Up @@ -264,7 +264,7 @@

/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
/* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */

/* Name of package */
#define PACKAGE "sagan"
Expand Down Expand Up @@ -337,7 +337,7 @@
#define VERSION "1.0.0-RC5"

/* With Bluedot */
#define WITH_BLUEDOT 1
/* #undef WITH_BLUEDOT */

/* With Snortsam */
#define WITH_SNORTSAM 1
Expand All @@ -346,7 +346,7 @@
#define WITH_SYSLOG 1

/* With system strstr */
/* #undef WITH_SYSSTRSTR */
#define WITH_SYSSTRSTR 1

/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
Expand Down

0 comments on commit 57c793e

Please sign in to comment.