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]

Minor nit in gcov-io.h


Since there is no requirement that all the functions defined are used
in the file that includes it, we should suppress an "unused" warning.  So
I committed the following:

Sun Feb 27 07:44:17 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
	Mark as possibly unused.

*** gcov-io.h	2000/01/14 17:14:43	1.9
--- gcov-io.h	2000/02/27 14:22:39
*************** Boston, MA 02111-1307, USA.  */
*** 25,32 ****
  #include <sys/types.h>
  
! static int __fetch_long		PARAMS ((long *, char *, size_t));
! static int __store_long		PARAMS ((long, char *, size_t));
! static int __read_long		PARAMS ((long *, FILE *, size_t));
! static int __write_long		PARAMS ((long, FILE *, size_t));
  
  /* These routines only work for signed values. */
--- 25,32 ----
  #include <sys/types.h>
  
! static int __fetch_long	PARAMS ((long *, char *, size_t)) ATTRIBUTE_UNUSED;
! static int __store_long PARAMS ((long, char *, size_t)) ATTRIBUTE_UNUSED;
! static int __read_long  PARAMS ((long *, FILE *, size_t)) ATTRIBUTE_UNUSED;
! static int __write_long PARAMS ((long, FILE *, size_t)) ATTRIBUTE_UNUSED;
  
  /* These routines only work for signed values. */

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