Skip to content

Commit

Permalink
nfc-eventd: update code to use libnfc 1.7.0
Browse files Browse the repository at this point in the history
git-svn-id: https://nfc-tools.googlecode.com/svn/trunk/nfc-eventd@1130 ba5c3050-9c55-11de-a262-85a698460a8e
  • Loading branch information
neomilium committed Apr 7, 2015
1 parent e42686d commit b6f7e8f
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 678 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT(nfc-eventd, 0.1.5, rconty@il4p.fr)
AC_INIT(nfc-eventd, 0.1.6, romuald@libnfc.org)

AC_CONFIG_HEADER(config.h)

Expand Down Expand Up @@ -71,7 +71,7 @@ AC_MSG_RESULT($enable_dbus)
AC_PATH_PROG(PKG_CONFIG, pkg-config, [AC_MSG_ERROR([pkg-config not found.])])

## libnfc
LIBNFC_REQUIRED_VERSION="1.5.1"
LIBNFC_REQUIRED_VERSION="1.7.0"
PKG_CHECK_MODULES([LIBNFC], [libnfc >= $LIBNFC_REQUIRED_VERSION], [], [AC_MSG_ERROR([libnfc >= $LIBNFC_REQUIRED_VERSION is mandatory.])])

AC_SUBST(LIBNFC_LIBS)
Expand Down
6 changes: 1 addition & 5 deletions src/debug/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void set_debug_level(int level) {
debug_level = level;
}

int get_debug_level() {
int get_debug_level(void) {
return debug_level;
}

Expand Down Expand Up @@ -77,7 +77,3 @@ void debug_print(int level, const char *file, int line, const char *format, ...)
}
}

void _debug_print_tag(const nfc_target* tag)
{
print_nfc_target(*tag, false);
}
Loading

0 comments on commit b6f7e8f

Please sign in to comment.