From 1de959ca1c9e67ef57f77ec2d7a1132b73153abb Mon Sep 17 00:00:00 2001 From: zwelch Date: Wed, 29 Apr 2009 01:43:01 +0000 Subject: Remove redundant declarations to allow building with -Wredundant-decls. git-svn-id: svn://svn.berlios.de/openocd/trunk@1560 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/replacements.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helper/replacements.h') diff --git a/src/helper/replacements.h b/src/helper/replacements.h index 8e1e51d..18c9670 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -103,9 +103,11 @@ struct timezone; extern int gettimeofday(struct timeval *tv, struct timezone *tz); #endif +#ifndef IN_REPLACEMENTS_C /**** clear_malloc & fill_malloc ****/ void *clear_malloc(size_t size); void *fill_malloc(size_t size); +#endif /* * Now you have 3 ways for the malloc function: -- cgit v1.1