Stefan Schuermans commited on 2012-03-07 21:19:40
Showing 2 changed files, with 2 additions and 2 deletions.
... | ... |
@@ -79,7 +79,7 @@ int eth_rx(void **pptr, unsigned int *psz) |
79 | 79 |
* @param[out] ptr pointer to packet data |
80 | 80 |
* @param[out] sz size of packet |
81 | 81 |
*/ |
82 |
-void eth_tx(void *ptr, unsigned int sz) |
|
82 |
+void eth_tx(const void *ptr, unsigned int sz) |
|
83 | 83 |
{ |
84 | 84 |
eth_ptr[8] = (unsigned int)ptr; /* start */ |
85 | 85 |
eth_ptr[9] = (unsigned int)ptr + sz; /* end */ |
... | ... |
@@ -17,7 +17,7 @@ int eth_rx(void **pptr, unsigned int *psz); |
17 | 17 |
* @param[out] ptr pointer to packet data |
18 | 18 |
* @param[out] sz size of packet |
19 | 19 |
*/ |
20 |
-void eth_tx(void *ptr, unsigned int sz); |
|
20 |
+void eth_tx(const void *ptr, unsigned int sz); |
|
21 | 21 |
|
22 | 22 |
#endif /* #ifndef ETH_H */ |
23 | 23 |
|
24 | 24 |