diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-05-30 08:43:42 -0700 |
---|---|---|
committer | jkoan <jkoan@users.noreply.github.com> | 2018-05-30 17:43:42 +0200 |
commit | 567a02aa949dfa34f7b2c2246c6eb6f8818fdf01 (patch) | |
tree | 4bb102fa60f0d01db0184d1424a5fc822ba79bc9 /navit/maptype.c | |
parent | cd477eb0e05b74b8dd26aa2df2778505a3b3c37c (diff) | |
download | navit-567a02aa949dfa34f7b2c2246c6eb6f8818fdf01.tar.gz |
Cleanup:global:force the re-attach the return type to the function declaration (#605)
* Cleanup:global:force the re-attach the return type to the function declaration
* cleanup:global:some loose ends
Diffstat (limited to 'navit/maptype.c')
-rw-r--r-- | navit/maptype.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/navit/maptype.c b/navit/maptype.c index 09c3beb66..3e8b74f2e 100644 --- a/navit/maptype.c +++ b/navit/maptype.c @@ -26,9 +26,8 @@ static struct maptype *maptype_root; -void -maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, - enum projection *pro)) { +void maptype_register(char *name, struct map_priv *(*map_new)(struct map_methods *meth, char *data, char **charset, + enum projection *pro)) { struct maptype *mt; mt=g_new(struct maptype, 1); mt->name=g_strdup(name); |