minor derivative to reduce compiler warnings and tag read-only parameters as const.
Fork of lwip-eth by
arch/TARGET_RZ_A1H/lwipopts_conf.h@28:dd496edab2cc, 2015-07-07 (annotated)
- Committer:
- WiredHome
- Date:
- Tue Jul 07 14:08:52 2015 +0000
- Revision:
- 28:dd496edab2cc
- Parent:
- 22:fa7e1e2c6eb3
Eliminate 2 compiler warnings by initializing values
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 22:fa7e1e2c6eb3 | 1 | /* Copyright (C) 2012 mbed.org, MIT License |
mbed_official | 22:fa7e1e2c6eb3 | 2 | * |
mbed_official | 22:fa7e1e2c6eb3 | 3 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
mbed_official | 22:fa7e1e2c6eb3 | 4 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
mbed_official | 22:fa7e1e2c6eb3 | 5 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
mbed_official | 22:fa7e1e2c6eb3 | 6 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
mbed_official | 22:fa7e1e2c6eb3 | 7 | * furnished to do so, subject to the following conditions: |
mbed_official | 22:fa7e1e2c6eb3 | 8 | * |
mbed_official | 22:fa7e1e2c6eb3 | 9 | * The above copyright notice and this permission notice shall be included in all copies or |
mbed_official | 22:fa7e1e2c6eb3 | 10 | * substantial portions of the Software. |
mbed_official | 22:fa7e1e2c6eb3 | 11 | * |
mbed_official | 22:fa7e1e2c6eb3 | 12 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
mbed_official | 22:fa7e1e2c6eb3 | 13 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
mbed_official | 22:fa7e1e2c6eb3 | 14 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
mbed_official | 22:fa7e1e2c6eb3 | 15 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
mbed_official | 22:fa7e1e2c6eb3 | 16 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
mbed_official | 22:fa7e1e2c6eb3 | 17 | */ |
mbed_official | 22:fa7e1e2c6eb3 | 18 | |
mbed_official | 22:fa7e1e2c6eb3 | 19 | #ifndef LWIPOPTS_CONF_H |
mbed_official | 22:fa7e1e2c6eb3 | 20 | #define LWIPOPTS_CONF_H |
mbed_official | 22:fa7e1e2c6eb3 | 21 | |
mbed_official | 22:fa7e1e2c6eb3 | 22 | #define LWIP_TRANSPORT_ETHERNET 1 |
mbed_official | 22:fa7e1e2c6eb3 | 23 | |
mbed_official | 22:fa7e1e2c6eb3 | 24 | #define MEM_SIZE (1600 * 16) |
mbed_official | 22:fa7e1e2c6eb3 | 25 | |
mbed_official | 22:fa7e1e2c6eb3 | 26 | #endif |