diff options
Diffstat (limited to 'libmudflap/mf-hooks2.c')
-rw-r--r-- | libmudflap/mf-hooks2.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libmudflap/mf-hooks2.c b/libmudflap/mf-hooks2.c index 87cb270b8fd..0ffcf09ac1f 100644 --- a/libmudflap/mf-hooks2.c +++ b/libmudflap/mf-hooks2.c @@ -26,8 +26,8 @@ for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. */ +Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301, USA. */ #include "config.h" @@ -544,8 +544,14 @@ WRAPPER2(struct tm*, gmtime, const time_t *timep) /* The following indicate if the result of the corresponding function * should be explicitly un/registered by the wrapper */ + +#ifdef __FreeBSD__ +#define MF_REGISTER_fopen __MF_TYPE_STATIC +#else #undef MF_REGISTER_fopen +#endif #define MF_RESULT_SIZE_fopen (sizeof (FILE)) + #undef MF_REGISTER_opendir #define MF_RESULT_SIZE_opendir 0 /* (sizeof (DIR)) */ #undef MF_REGISTER_readdir |