Re: [ob] Add #ifndef SOLIB_SVR4

Mark Kettenis
2004-03-12T22:01:55Z

Date: Thu, 11 Mar 2004 18:52:04 -0500
From: Andrew Cagney <cagney@gnu.org>

2004-03-11 Andrew Cagney <cagney@redhat.com>

* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.

Hmm, this is inconsistent with our current practive where this kind of
wrappers always ends in _H. So I went ahead and added the attached
obvious fix.

Mark

Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>

* solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
wrapper.

Index: solib-svr4.h
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.h,v
retrieving revision 1.7
diff -u -p -r1.7 solib-svr4.h
--- solib-svr4.h 11 Mar 2004 23:51:58 -0000 1.7
+++ solib-svr4.h 12 Mar 2004 19:09:28 -0000
@@ -20,8 +20,8 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */

-#ifndef SOLIB_SVR4
-#define SOLIB_SVR4
+#ifndef SOLIB_SVR4_H
+#define SOLIB_SVR4_H

struct objfile;

@@ -92,4 +92,4 @@ extern struct link_map_offsets *(*legacy
extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void);
extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void);

-#endif
+#endif /* solib-svr4.h */