Rename parameter wait in do_wait

util.c:11: warning: declaration of ‘wait’ shadows a global declaration
/usr/include/sys/wait.h:255: warning: shadowed declaration is here


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4180 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
ludovic.rousseau 2010-03-29 08:23:07 +00:00
parent cf8a7f894f
commit 4ce1e8c831
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@
#include "util.h"
int util_connect_card(sc_context_t *ctx, sc_card_t **cardp,
const char *reader_id, int wait, int verbose)
const char *reader_id, int do_wait, int verbose)
{
sc_reader_t *reader, *found;
sc_card_t *card;
int r, tmp_reader_num;
if (wait) {
if (do_wait) {
unsigned int event;
if (sc_ctx_get_reader_count(ctx) == 0) {