gdbserver: avoid empty structs
2013-06-25 Mircea Gherzan <mircea.gherzan@intel.com> gdbserver/ * notif.h (notif_event): Add a dummy member to avoid compiler errors. Change-Id: I490dbdb70a24f52b3947371f7c0397bf7a18423c Signed-off-by: Mircea Gherzan <mircea.gherzan@intel.com>
This commit is contained in:
parent
b1a49096ef
commit
49b64de6e4
|
@ -1,3 +1,8 @@
|
||||||
|
2013-07-02 Mircea Gherzan <mircea.gherzan@intel.com>
|
||||||
|
|
||||||
|
* notif.h (notif_event): Add a dummy member to avoid compiler
|
||||||
|
errors.
|
||||||
|
|
||||||
2013-07-01 Pedro Alves <palves@redhat.com>
|
2013-07-01 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* hostio.c (HOSTIO_PATH_MAX): Define.
|
* hostio.c (HOSTIO_PATH_MAX): Define.
|
||||||
|
|
|
@ -27,6 +27,8 @@
|
||||||
|
|
||||||
typedef struct notif_event
|
typedef struct notif_event
|
||||||
{
|
{
|
||||||
|
/* C requires that a struct or union has at least one member. */
|
||||||
|
char dummy;
|
||||||
} *notif_event_p;
|
} *notif_event_p;
|
||||||
|
|
||||||
DECLARE_QUEUE_P (notif_event_p);
|
DECLARE_QUEUE_P (notif_event_p);
|
||||||
|
|
Loading…
Reference in New Issue