Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: cagney@gnu.org
Cc: gdb-patches@sources.redhat.com
Subject: Re: [ob] Add #ifndef SOLIB_SVR4
Date: Fri, 12 Mar 2004 22:01:00 -0000	[thread overview]
Message-ID: <200403122201.i2CM1gAT000463@elgar.kettenis.dyndns.org> (raw)
Message-ID: <20040312220100.TBfcRUiyFZqrcRz3RwSYk9RsVZ9Rq5qgTnpbZXg15Bc@z> (raw)
In-Reply-To: <4050FBA4.3020704@gnu.org> (message from Andrew Cagney on Thu, 11 Mar 2004 18:52:04 -0500)

   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 */


  parent reply	other threads:[~2004-03-12 22:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11 23:52 Andrew Cagney
2004-03-19  0:09 ` Andrew Cagney
2004-03-19  0:09 ` Mark Kettenis [this message]
2004-03-12 22:01   ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200403122201.i2CM1gAT000463@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox