a bit more -Werror compatability

for clang, fix warnings in drivers/, lib/, servers/, sys/, common/.
by turning off fatal warnings (takes effect if the default is on),
fixing warnings or reducing the warning level.

Change-Id: Ia1b4bc877c879ba783158081b59aa6ebb021a50f
This commit is contained in:
Ben Gras
2013-08-14 12:27:39 +00:00
committed by Gerrit Code Review
parent 0c044c6b02
commit 6e5a113837
17 changed files with 60 additions and 35 deletions

View File

@@ -19,7 +19,7 @@ typedef enum {
* 'os_val' is then a base passed to strtol().
*/
struct optset {
char *os_name;
const char *os_name;
optset_type os_type;
void *os_ptr;
int os_val;