Skip to content

Commit

Permalink
Restore prototype declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
joa-quim committed Jan 30, 2025
1 parent aef2f7a commit 58603ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/potential/gmtgravmag3d.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ static void Free_Ctrl (struct GMT_CTRL *GMT, struct GMTGRAVMAG3D_CTRL *C) { /* D
gmt_M_free (GMT, C);
}

GMT_LOCAL int read_stl (struct GMT_CTRL *GMT, struct GMTGRAVMAG3D_CTRL *Ctrl);
GMT_LOCAL void set_center (struct GMTGRAVMAG3D_CTRL *Ctrl);
GMT_LOCAL int facet_triangulate (struct GMTGRAVMAG3D_CTRL *Ctrl, struct BODY_VERTS *body_verts, unsigned int i, bool bat);
GMT_LOCAL int facet_raw (struct GMTGRAVMAG3D_CTRL *Ctrl, struct BODY_VERTS *body_verts, unsigned int i, bool geo);
Expand Down Expand Up @@ -511,9 +512,8 @@ GMT_LOCAL int read_xyz(struct GMT_CTRL *GMT, struct GMTGRAVMAG3D_CTRL *Ctrl, str
unsigned int k, n = 0;
size_t n_alloc = 10 * GMT_CHUNK;
char line[GMT_LEN256] = {""};
double x1, x2, x3, x4, x5, x6, x7, x8;
double x1, x2, x3;
struct GMT_RECORD *In = NULL;
FILE *fp = NULL;

if ((error = GMT_Set_Columns (GMT->parent, GMT_IN, 0, GMT_COL_VAR)) != GMT_NOERROR)
return error;
Expand Down

0 comments on commit 58603ac

Please sign in to comment.