Fix function prototype.

Check for usb.h in ./configure .
This commit is contained in:
Romuald Conty 2009-06-03 07:32:43 +00:00
parent 1dcb53dc4d
commit 7536d79d73
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ AC_PATH_PROG(PKG_CONFIG, pkg-config)
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h])
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h usb.h])
# Checks for types
AC_TYPE_SIZE_T

View file

@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "bitutils.h"
#include "devices.h"
dev_info* nfc_connect();
dev_info* nfc_connect(void);
void nfc_disconnect(dev_info* pdi);
bool nfc_configure(dev_info* pdi, const dev_config_option dco, const bool bEnable);