bece73faaf
* in main(): ** errx()/err()/return -> exit() ** return values -> EXIT_SUCCESS & EXIT_FAILURE * out of main: ** err()/errx()/exit() -> return ** change retval from size_t to int to allow returning errors ** don't use EXIT_SUCCESS / EXIT_FAILURE as retvals * add nfc_close() & nfc_exit() to exit() on errors * add missing fclose() on errors * add missing test if (pnd == NULL) * unify style if (pnd == / != NULL) * remove goto's * few related fixes * remove if(pnd!=NULL) test on nfc_close() calls |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Makefile.am | ||
mifare.c | ||
mifare.h | ||
nfc-emulate-forum-tag4.1 | ||
nfc-emulate-forum-tag4.c | ||
nfc-list.1 | ||
nfc-list.c | ||
nfc-mfclassic.1 | ||
nfc-mfclassic.c | ||
nfc-mfultralight.1 | ||
nfc-mfultralight.c | ||
nfc-read-forum-tag3.1 | ||
nfc-read-forum-tag3.c | ||
nfc-relay-picc.1 | ||
nfc-relay-picc.c | ||
nfc-scan-device.1 | ||
nfc-scan-device.c | ||
nfc-utils.c | ||
nfc-utils.h |