O
onsbomma
Can anyone tell me the difference between
typedef struct chunkinfo* mfastbinptr;
and
typedef struct chunkinfoptr chunkinfoptr;
if you know that
struct chunkinfo{
struct chunkinfo* next;
struct chunkinfo* prev;
int size;
};
typedef struct chunkinfo* chunkinfoptr;
With the second i get a "has incomplete type" error
typedef struct chunkinfo* mfastbinptr;
and
typedef struct chunkinfoptr chunkinfoptr;
if you know that
struct chunkinfo{
struct chunkinfo* next;
struct chunkinfo* prev;
int size;
};
typedef struct chunkinfo* chunkinfoptr;
With the second i get a "has incomplete type" error