Skip to content

Commit

Permalink
Remove Mat_GetHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Jun 15, 2017
1 parent 14d2aff commit c88b416
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
11 changes: 0 additions & 11 deletions src/mat.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,17 +487,6 @@ Mat_GetFilename(mat_t *mat)
return filename;
}

const char *
Mat_GetHeader(mat_t *matfp) {

const char * header = NULL;

if ( matfp != NULL ) {
header = matfp->header;
}
return header;
}

/** @brief Gets the version of the given MAT file
*
* Gets the version of the given MAT file
Expand Down
3 changes: 1 addition & 2 deletions src/matio.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,7 @@ EXTERN mat_t *Mat_Open(const char *matname,int mode);
EXTERN const char *Mat_GetFilename(mat_t *mat);
EXTERN enum mat_ft Mat_GetVersion(mat_t *mat);
EXTERN char **Mat_GetDir(mat_t *mat, size_t *n);
EXTERN const char *Mat_GetHeader(mat_t *matfp);
EXTERN int Mat_Rewind(mat_t *mat);
extern int Mat_Rewind(mat_t *mat);

/* MAT variable functions */
EXTERN matvar_t *Mat_VarCalloc(void);
Expand Down

0 comments on commit c88b416

Please sign in to comment.