Fix function prototype.
Check for usb.h in ./configure .
This commit is contained in:
parent
1dcb53dc4d
commit
7536d79d73
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ AC_PATH_PROG(PKG_CONFIG, pkg-config)
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_HEADER_STDBOOL
|
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
|
# Checks for types
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
|
|
|
@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "bitutils.h"
|
#include "bitutils.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
|
||||||
dev_info* nfc_connect();
|
dev_info* nfc_connect(void);
|
||||||
void nfc_disconnect(dev_info* pdi);
|
void nfc_disconnect(dev_info* pdi);
|
||||||
bool nfc_configure(dev_info* pdi, const dev_config_option dco, const bool bEnable);
|
bool nfc_configure(dev_info* pdi, const dev_config_option dco, const bool bEnable);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue