Skip to content

Commit

Permalink
Merge pull request #1989 from nishkakotian/issue1896
Browse files Browse the repository at this point in the history
fix for Issue1896 Coordinate_t
  • Loading branch information
cvvergara committed Jul 15, 2021
2 parents db83c73 + a63f6bf commit 91c956b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/c_common/coordinates_input.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
/* for size-t */
#include <stddef.h>

#include "c_types/coordinate_t.h"
typedef struct Coordinate_t Coordinate_t;

/*!
bigint id,
Expand Down
4 changes: 2 additions & 2 deletions include/c_types/coordinate_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# include <stdint.h>
#endif

typedef struct {
struct Coordinate_t {
int64_t id;
double x;
double y;
} Coordinate_t;
};

#endif // INCLUDE_C_TYPES_COORDINATE_T_H_
2 changes: 1 addition & 1 deletion src/common/coordinates_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#include "c_common/coordinates_input.h"

#include "c_types/column_info_t.h"

#include "c_types/coordinate_t.h"
#include "c_common/debug_macro.h"
#include "c_common/get_check_data.h"
#include "c_common/time_msg.h"
Expand Down

0 comments on commit 91c956b

Please sign in to comment.