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:
Mircea Gherzan 2013-07-02 10:08:01 +00:00
parent b1a49096ef
commit 49b64de6e4
2 changed files with 7 additions and 0 deletions

View File

@ -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>
* hostio.c (HOSTIO_PATH_MAX): Define.

View File

@ -27,6 +27,8 @@
typedef struct notif_event
{
/* C requires that a struct or union has at least one member. */
char dummy;
} *notif_event_p;
DECLARE_QUEUE_P (notif_event_p);