Remove whitespace after star symbol for pointers
This commit is contained in:
parent
5a9a778879
commit
52bc5853d8
31 changed files with 199 additions and 199 deletions
|
|
@ -75,7 +75,7 @@ uint8_t abtHalt[4] = { 0x50, 0x00, 0x00, 0x00 };
|
|||
#define CASCADE_BIT 0x04
|
||||
|
||||
static bool
|
||||
transmit_bits (const uint8_t * pbtTx, const size_t szTxBits)
|
||||
transmit_bits (const uint8_t *pbtTx, const size_t szTxBits)
|
||||
{
|
||||
// Show transmitted command
|
||||
if (!quiet_output) {
|
||||
|
|
@ -97,7 +97,7 @@ transmit_bits (const uint8_t * pbtTx, const size_t szTxBits)
|
|||
|
||||
|
||||
static bool
|
||||
transmit_bytes (const uint8_t * pbtTx, const size_t szTx)
|
||||
transmit_bytes (const uint8_t *pbtTx, const size_t szTx)
|
||||
{
|
||||
// Show transmitted command
|
||||
if (!quiet_output) {
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ intr_hdlr (void)
|
|||
}
|
||||
|
||||
bool
|
||||
target_io( nfc_target * pnt, const uint8_t * pbtInput, const size_t szInput, uint8_t * pbtOutput, size_t *pszOutput )
|
||||
target_io( nfc_target *pnt, const uint8_t *pbtInput, const size_t szInput, uint8_t *pbtOutput, size_t *pszOutput )
|
||||
{
|
||||
bool loop = true;
|
||||
*pszOutput = 0;
|
||||
|
|
@ -134,7 +134,7 @@ target_io( nfc_target * pnt, const uint8_t * pbtInput, const size_t szInput, uin
|
|||
}
|
||||
|
||||
bool
|
||||
nfc_target_emulate_tag(nfc_device* pnd, nfc_target * pnt)
|
||||
nfc_target_emulate_tag(nfc_device *pnd, nfc_target *pnt)
|
||||
{
|
||||
size_t szTx;
|
||||
uint8_t abtTx[MAX_FRAME_LEN];
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
|
||||
int main(int argc, const char* argv[])
|
||||
{
|
||||
nfc_device* pnd;
|
||||
nfc_device *pnd;
|
||||
uint8_t abtRx[MAX_FRAME_LEN];
|
||||
uint8_t abtTx[MAX_FRAME_LEN];
|
||||
size_t szRx = sizeof(abtRx);
|
||||
|
|
@ -97,8 +97,8 @@ int main(int argc, const char* argv[])
|
|||
printf ("Connected to NFC reader: %s\n", pnd->acName);
|
||||
nfc_initiator_init(pnd);
|
||||
|
||||
char * cmd;
|
||||
char * prompt="> ";
|
||||
char *cmd;
|
||||
char *prompt = "> ";
|
||||
while(1) {
|
||||
int offset=0;
|
||||
#if defined(HAVE_READLINE)
|
||||
|
|
@ -113,7 +113,7 @@ int main(int argc, const char* argv[])
|
|||
} else {
|
||||
#endif //HAVE_READLINE
|
||||
size_t n = 255;
|
||||
char * ret = NULL;
|
||||
char *ret = NULL;
|
||||
cmd = malloc(n);
|
||||
printf("%s", prompt);
|
||||
fflush(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue