From 6ebcf09b6c37399ca597870339c1c5e60b1f774b Mon Sep 17 00:00:00 2001 From: navarro Date: Tue, 10 Apr 2012 12:24:05 +0200 Subject: [PATCH 1/1] Fix compilation error with gcc4.4 error: redefinition of typedef 'surf_stat_t' --- src/simix/smx_private.h | 2 +- src/surf/storage_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simix/smx_private.h b/src/simix/smx_private.h index 28cbd06797..824239f438 100644 --- a/src/simix/smx_private.h +++ b/src/simix/smx_private.h @@ -64,7 +64,7 @@ typedef struct s_smx_file { typedef struct s_smx_stat { s_file_stat_t surf_stat; -} s_smx_stat_t, *smx_stat_t; +} s_smx_stat_t; /*********************************** Time ************************************/ diff --git a/src/surf/storage_private.h b/src/surf/storage_private.h index c5ae4d2fbf..c1b812b7d0 100644 --- a/src/surf/storage_private.h +++ b/src/surf/storage_private.h @@ -23,7 +23,7 @@ typedef struct s_mount { typedef struct surf_stat { /* file status structure */ s_file_stat_t stat; /* possible additionnal fields (e.g., popularity, last access time to know whether the file is in cache, ...) */ -} s_surf_stat_t, *surf_stat_t; +} s_surf_stat_t; typedef struct surf_file { char *name; -- 2.20.1