]> The Tcpdump Group git mirrors - tcpdump/commit
Fix a warning
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 19 Sep 2019 17:58:58 +0000 (19:58 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 19 Sep 2019 17:58:58 +0000 (19:58 +0200)
commitc62dff3187a3a4dd98e24d3bcb2a18aa3736bfd4
treefde2fc10da0a24180f9cce45b431a269b4ae9a96
parent327512e264fc30a8969ac5f7415e2d3a172c9b42
Fix a warning

poll() is a system API on UN*Xes, some compilers warn like:

./print-pgm.c: In function 'pgm_print':
./print-pgm.c:256:29: warning: declaration of 'poll' shadows a global
declaration [-Wshadow]

Rename the variable 'pgm_poll'.
print-pgm.c