Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb multiple include protection



details:   https://anonhg.NetBSD.org/src/rev/028df97be9f0
branches:  trunk
changeset: 818463:028df97be9f0
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 14 23:49:23 2016 +0000

description:
multiple include protection

diffstat:

 external/gpl3/gdb/dist/gdb/event-loop.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r aa3fee5decae -r 028df97be9f0 external/gpl3/gdb/dist/gdb/event-loop.h
--- a/external/gpl3/gdb/dist/gdb/event-loop.h   Fri Oct 14 23:27:00 2016 +0000
+++ b/external/gpl3/gdb/dist/gdb/event-loop.h   Fri Oct 14 23:49:23 2016 +0000
@@ -66,7 +66,8 @@
    infinite loop.
 
    Corollary tasks are the creation and deletion of event sources.  */
-
+#ifndef _EVENT_LOOP_H_
+#define _EVENT_LOOP_H_
 typedef void *gdb_client_data;
 struct async_signal_handler;
 struct async_event_handler;
@@ -127,3 +128,4 @@
 extern void clear_async_event_handler (struct async_event_handler *handler);
 
 extern void initialize_async_signal_handlers (void);
+#endif



Home | Main Index | Thread Index | Old Index