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/2c95fcce2366
branches:  trunk
changeset: 348321:2c95fcce2366
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 7f4c6aa3d4fb -r 2c95fcce2366 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