This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcov] fix __inline__


Hi,
I'd inadvertently left a __inline__ in my recent gcov patch. This fixes
that problem. Thanks to Roger Sayle for spotting it.

built on i686-pc-linux-gnu, installed.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
         The voices in my head said this was stupid too
nathan at codesourcery dot com : http://www.cs.bris.ac.uk/~nathan/ : nathan at acm dot org

2003-04-08  Nathan Sidwell  <nathan at codesourcery dot com>

	* gcov-io.h (gcov_save_position): Remove __inline__ from
	declaration.

Index: gcov-io.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcov-io.h,v
retrieving revision 1.23
diff -c -3 -p -r1.23 gcov-io.h
*** gcov-io.h	7 Apr 2003 19:37:10 -0000	1.23
--- gcov-io.h	8 Apr 2003 08:57:10 -0000
*************** static int gcov_read_counter (gcov_type 
*** 318,324 ****
  static int gcov_read_string (char **);
  #endif
  static int gcov_read_summary (struct gcov_summary *);
! static __inline__ unsigned long gcov_save_position (void);
  static int gcov_resync (unsigned long /*base*/, unsigned /*length */);
  static unsigned long gcov_seek_end (void);
  static int gcov_skip (unsigned /*length*/);
--- 318,324 ----
  static int gcov_read_string (char **);
  #endif
  static int gcov_read_summary (struct gcov_summary *);
! static unsigned long gcov_save_position (void);
  static int gcov_resync (unsigned long /*base*/, unsigned /*length */);
  static unsigned long gcov_seek_end (void);
  static int gcov_skip (unsigned /*length*/);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]