X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fspring-smob.cc;h=8e263d06944bd406b3bbff5a7a12165ce3f7a917;hb=688f5f1711d8ca07338385a2ae0191b1a8aae315;hp=5639a1cd0737446b8318f3c3a12b9712acc69007;hpb=aa3b078b76a1e8457388b022ff5d1fc0c4820d3b;p=lilypond.git diff --git a/lily/spring-smob.cc b/lily/spring-smob.cc index 5639a1cd07..8e263d0694 100644 --- a/lily/spring-smob.cc +++ b/lily/spring-smob.cc @@ -1,9 +1,20 @@ /* - spring.cc -- implement Spring + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 1999--2011 Han-Wen Nienhuys - (c) 1999--2007 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #include "spring.hh" @@ -13,10 +24,8 @@ IMPLEMENT_SIMPLE_SMOBS (Spring); SCM -Spring::mark_smob (SCM x) +Spring::mark_smob (SCM) { - (void)x; - return SCM_UNSPECIFIED; } @@ -30,6 +39,6 @@ Spring::print_smob (SCM, SCM p, scm_print_state *) SCM Spring::equal_p (SCM a, SCM b) { - return a == b? SCM_BOOL_T : SCM_BOOL_F; + return a == b ? SCM_BOOL_T : SCM_BOOL_F; }