X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fspring-smob.cc;h=8e263d06944bd406b3bbff5a7a12165ce3f7a917;hb=23218d3fabd1599e709803b36a9eab48d25db810;hp=5639a1cd0737446b8318f3c3a12b9712acc69007;hpb=deabe8e6c21ae6080e13b269bab24901f74a2254;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; }