diff --git a/tuner/tuner.c b/tuner/tuner.c index d9e8c9ffe..ce0ac81c5 100644 --- a/tuner/tuner.c +++ b/tuner/tuner.c @@ -3,19 +3,19 @@ * Copyright (C) 2004-2011 Stephane Fillod * * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU Library General Public + * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/tuner/tuner.h b/tuner/tuner.h index 9d507e564..4f835087a 100644 --- a/tuner/tuner.h +++ b/tuner/tuner.h @@ -3,19 +3,19 @@ * Copyright (c) 2004-2011 by Stephane Fillod * * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU Library General Public + * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/tuner/v4l.c b/tuner/v4l.c index 836ea0449..0b44cc9f1 100644 --- a/tuner/v4l.c +++ b/tuner/v4l.c @@ -3,19 +3,19 @@ * Copyright (c) 2004-2010 by Stephane Fillod * * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU Library General Public + * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -194,7 +194,7 @@ int v4l_set_freq(RIG *rig, vfo_t vfo, freq_t freq) unsigned long f; double fact; int ret; - + /* AM or WFM */ range = rig_get_range (rs->rx_range_list, freq, RIG_MODE_AM|RIG_MODE_WFM); if (!range) @@ -296,7 +296,7 @@ int v4l_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) break; default: return -RIG_EINVAL; - } + } return RIG_OK; } @@ -320,7 +320,7 @@ int v4l_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) default: return -RIG_EINVAL; - } + } ret = ioctl(rig->state.rigport.fd, VIDIOCSAUDIO, &va); if (ret < 0) { @@ -360,7 +360,7 @@ int v4l_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) default: return -RIG_EINVAL; - } + } return RIG_OK; } diff --git a/tuner/v4l2.c b/tuner/v4l2.c index fa46b3fe6..a6a0cc273 100644 --- a/tuner/v4l2.c +++ b/tuner/v4l2.c @@ -3,19 +3,19 @@ * Copyright (c) 2004-2011 by Stephane Fillod * * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * This library 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 Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. * - * You should have received a copy of the GNU Library General Public + * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -194,7 +194,7 @@ int v4l2_set_freq(RIG *rig, vfo_t vfo, freq_t freq) unsigned long f; double fact; int ret; - + /* AM or WFM */ range = rig_get_range (rs->rx_range_list, freq, RIG_MODE_AM|RIG_MODE_WFM); if (!range) @@ -297,7 +297,7 @@ int v4l2_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) break; default: return -RIG_EINVAL; - } + } return RIG_OK; } @@ -323,7 +323,7 @@ int v4l2_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) default: return -RIG_EINVAL; - } + } ret = ioctl(rig->state.rigport.fd, VIDIOC_S_AUDIO, &va); if (ret < 0) { @@ -364,7 +364,7 @@ int v4l2_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) default: return -RIG_EINVAL; - } + } return RIG_OK; }