Module Name:    src
Committed By:   christos
Date:           Fri Oct 14 23:49:23 UTC 2016

Modified Files:
        src/external/gpl3/gdb/dist/gdb: event-loop.h

Log Message:
multiple include protection


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.6 -r1.2 src/external/gpl3/gdb/dist/gdb/event-loop.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/event-loop.h
diff -u src/external/gpl3/gdb/dist/gdb/event-loop.h:1.1.1.6 src/external/gpl3/gdb/dist/gdb/event-loop.h:1.2
--- src/external/gpl3/gdb/dist/gdb/event-loop.h:1.1.1.6	Wed Oct 12 12:47:12 2016
+++ src/external/gpl3/gdb/dist/gdb/event-loop.h	Fri Oct 14 19:49:23 2016
@@ -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 mark_async_event_handler (st
 extern void clear_async_event_handler (struct async_event_handler *handler);
 
 extern void initialize_async_signal_handlers (void);
+#endif

Reply via email to