Skip to content

Commit

Permalink
minios should be fine with -Wcast-qual now
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed Jun 22, 2015
1 parent 4cc3bc5 commit dd92e73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions platform/xen/rumpxendev/busdev.c
Expand Up @@ -65,11 +65,8 @@ __KERNEL_RCSID(0, "$NetBSD: $");

#include <xen/io/xs_wire.h>

#pragma GCC diagnostic ignored "-Wcast-qual"
/* mini-os/os.h has some bad casts */
#include <mini-os/xenbus.h>
#include <mini-os/wait.h>
#pragma GCC diagnostic error "-Wcast-qual"

/*----- data structures -----*/

Expand Down
3 changes: 0 additions & 3 deletions platform/xen/rumpxendev/evtdev.c
Expand Up @@ -36,11 +36,8 @@
#include <bmk-rumpuser/rumpuser.h>
#include <bmk-core/memalloc.h>

#pragma GCC diagnostic ignored "-Wcast-qual"
/* mini-os/os.h has some bad casts */
#include <mini-os/events.h>
#include <mini-os/wait.h>
#pragma GCC diagnostic error "-Wcast-qual"

/* For ioctl interface. */
#include "xenio3.h"
Expand Down

0 comments on commit dd92e73

Please sign in to comment.