diff options
author | Joseph Herlant <herlantj@gmail.com> | 2018-09-09 20:35:47 -0700 |
---|---|---|
committer | Joseph Herlant <herlantj@gmail.com> | 2018-09-09 20:37:34 -0700 |
commit | 309cc41973dac7a1ad5137450b105889802b5083 (patch) | |
tree | 21ba1a3ba15e74b47339862ecd4dc30ec823c774 | |
parent | 9b1405d99b9a2aafe3d390a3c0b3c10fa63fe525 (diff) | |
download | navit-309cc41973dac7a1ad5137450b105889802b5083.tar.gz |
cosmetic:coord:Fix some function declaration format
-rw-r--r-- | navit/coord.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/navit/coord.c b/navit/coord.c index 9eb4b53f5..a0ad12ffe 100644 --- a/navit/coord.c +++ b/navit/coord.c @@ -39,15 +39,13 @@ * @returns the coordinate */ -struct coord * -coord_get(unsigned char **p) { +struct coord * coord_get(unsigned char **p) { struct coord *ret=(struct coord *)(*p); *p += sizeof(*ret); return ret; } -struct coord * -coord_new(int x, int y) { +struct coord * coord_new(int x, int y) { struct coord *c=g_new(struct coord, 1); c->x=x; @@ -56,8 +54,7 @@ coord_new(int x, int y) { return c; } -struct coord * -coord_new_from_attrs(struct attr *parent, struct attr **attrs) { +struct coord * coord_new_from_attrs(struct attr *parent, struct attr **attrs) { struct attr *x,*y; x=attr_search(attrs, NULL, attr_x); y=attr_search(attrs, NULL, attr_y); @@ -71,8 +68,7 @@ void coord_destroy(struct coord *c) { g_free(c); } -struct coord_rect * -coord_rect_new(struct coord *lu, struct coord *rl) { +struct coord_rect * coord_rect_new(struct coord *lu, struct coord *rl) { struct coord_rect *r=g_new(struct coord_rect, 1); dbg_assert(lu->x <= rl->x); |