mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 18:43:47 +00:00
stdin is already defined by stdio.h
Fix compiler warnings: pn53x-tamashell.c: In function ‘main’: pn53x-tamashell.c:79: warning: nested extern declaration of ‘__stdinp’ pn53x-tamashell.c:79: warning: redundant redeclaration of ‘__stdinp’ /usr/include/stdio.h:164: warning: previous declaration of ‘__stdinp’ was here
This commit is contained in:
@@ -76,7 +76,6 @@ int main(int argc, const char* argv[])
|
|||||||
uint8_t abtTx[MAX_FRAME_LEN];
|
uint8_t abtTx[MAX_FRAME_LEN];
|
||||||
size_t szRx = sizeof(abtRx);
|
size_t szRx = sizeof(abtRx);
|
||||||
size_t szTx;
|
size_t szTx;
|
||||||
extern FILE* stdin;
|
|
||||||
FILE* input = NULL;
|
FILE* input = NULL;
|
||||||
|
|
||||||
if (argc >= 2) {
|
if (argc >= 2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user