summaryrefslogtreecommitdiff
path: root/navit/announcement.c
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@users.noreply.github.com>2018-05-30 08:43:42 -0700
committerjkoan <jkoan@users.noreply.github.com>2018-05-30 17:43:42 +0200
commit567a02aa949dfa34f7b2c2246c6eb6f8818fdf01 (patch)
tree4bb102fa60f0d01db0184d1424a5fc822ba79bc9 /navit/announcement.c
parentcd477eb0e05b74b8dd26aa2df2778505a3b3c37c (diff)
downloadnavit-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/announcement.c')
-rw-r--r--navit/announcement.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/navit/announcement.c b/navit/announcement.c
index 0d79ae9bf..c823fe1e1 100644
--- a/navit/announcement.c
+++ b/navit/announcement.c
@@ -38,25 +38,21 @@ announcement_new(struct attr *parent, struct attr **attrs) {
return this_;
}
-int
-announcement_get_attr(struct announcement *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter) {
+int announcement_get_attr(struct announcement *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter) {
return attr_generic_get_attr(this_->attrs, NULL, type, attr, iter);
}
-int
-announcement_set_attr(struct announcement *this_, struct attr *attr) {
+int announcement_set_attr(struct announcement *this_, struct attr *attr) {
this_->attrs=attr_generic_set_attr(this_->attrs, attr);
return 1;
}
-int
-announcement_add_attr(struct announcement *this_, struct attr *attr) {
+int announcement_add_attr(struct announcement *this_, struct attr *attr) {
this_->attrs=attr_generic_add_attr(this_->attrs, attr);
return 1;
}
-int
-announcement_remove_attr(struct announcement *this_, struct attr *attr) {
+int announcement_remove_attr(struct announcement *this_, struct attr *attr) {
this_->attrs=attr_generic_remove_attr(this_->attrs, attr);
return 1;
}