diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-21 22:22:03 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-08-21 22:22:03 +0000 |
commit | 1ace6fe33b41674568351f9f4c89bfb81ca0c266 (patch) | |
tree | 0957e88f3297de9a389d159646a891fca1bfb21d /navit/roadprofile.c | |
parent | 09a4413c92fb3749f20f445d3133602a12ef3a5b (diff) | |
download | navit-1ace6fe33b41674568351f9f4c89bfb81ca0c266.tar.gz |
Fix:core:Build with -Wcast-align -Wmissing-prototypes, -Wpointer-arith, fix corresponding warnings.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5586 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/roadprofile.c')
-rw-r--r-- | navit/roadprofile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/roadprofile.c b/navit/roadprofile.c index 0c70eb483..1cda16130 100644 --- a/navit/roadprofile.c +++ b/navit/roadprofile.c @@ -96,7 +96,7 @@ roadprofile_attr_iter_destroy(struct attr_iter *iter) g_free(iter); } -struct roadprofile * +static struct roadprofile * roadprofile_dup(struct roadprofile *this_) { struct roadprofile *ret=g_new(struct roadprofile, 1); @@ -106,7 +106,7 @@ roadprofile_dup(struct roadprofile *this_) return ret; } -void +static void roadprofile_destroy(struct roadprofile *this_) { attr_list_free(this_->attrs); |