Fixing shadowing of global index function.
authorTim 'mithro' Ansell <mithro@mithis.com>
Sun, 19 Apr 2015 06:54:57 +0000 (16:54 +1000)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Mon, 20 Apr 2015 16:26:07 +0000 (00:26 +0800)
commitb8bbaaef3abb6c8dd4f768c51684f3ad97173b07
tree73913e3e6e5e159f0bade60c03d42d39bcd8f48b
parentf57ee296a96d8e7b9feac5c834a0a05e4235c8c5
Fixing shadowing of global index function.

Fixes the following warnings;
```
cc -Wall -O2  -fPIC -Wall -Wshadow -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -I/usr/include/iverilog -c  -o ipc.o ipc.c
ipc.c: In function ‘ipc_receive’:
ipc.c:98:17: warning: declaration of ‘index’ shadows a global declaration [-Wshadow]
ipc.c:113:17: warning: declaration of ‘index’ shadows a global declaration [-Wshadow]
```

Fixes https://github.com/m-labs/migen/issues/14
vpi/ipc.c