Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/rst/interp_float/distance.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/*-
* Written by H. Mitasova, I. Kosinovsky, D. Gerdes Fall 1993
* US Army Construction Engineering Research Lab
* Copyright 1993, H. Mitasova (University of Illinois),
* I. Kosinovsky, (USA-CERL), and D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: 1993 H. Mitasova (University of Illinois)
* SPDX-FileCopyrightText: 1993 I. Kosinovsky (USA-CERL)
* SPDX-FileCopyrightText: 1993 D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*
* modified by McCauley in August 1995
* modified by Mitasova in August 1995
Expand Down
8 changes: 5 additions & 3 deletions lib/rst/interp_float/minmax.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
* Written by H. Mitasova, L. Mitas, I. Kosinovsky, D. Gerdes Fall 1994
* University of Illinois
* US Army Construction Engineering Research Lab
* Copyright 1994, H. Mitasova (University of Illinois),
* L. Mitas (University of Illinois),
* I. Kosinovsky, (USA-CERL), and D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: 1994 H. Mitasova (University of Illinois)
* SPDX-FileCopyrightText: 1994 I. Kosinovsky (USA-CERL)
* SPDX-FileCopyrightText: 1994 D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*
* modified by McCauley in August 1995
* modified by Mitasova in August 1995
Expand Down
7 changes: 5 additions & 2 deletions lib/rst/interp_float/resout2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
* Written by H. Mitasova, I. Kosinovsky, D. Gerdes Summer 1993
* University of Illinois
* US Army Construction Engineering Research Lab
* Copyright 1993, H. Mitasova (University of Illinois),
* I. Kosinovsky, (USA-CERL), and D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: 1993 H. Mitasova (University of Illinois)
* SPDX-FileCopyrightText: 1993 I. Kosinovsky (USA-CERL)
* SPDX-FileCopyrightText: 1993 D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*
* modified by McCauley in August 1995
* modified by Mitasova in August 1995
Expand Down
7 changes: 5 additions & 2 deletions lib/rst/interp_float/ressegm2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
* Written by H. Mitasova, I. Kosinovsky, D. Gerdes Summer 1993
* University of Illinois
* US Army Construction Engineering Research Lab
* Copyright 1993, H. Mitasova (University of Illinois),
* I. Kosinovsky, (USA-CERL), and D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: 1993 H. Mitasova (University of Illinois)
* SPDX-FileCopyrightText: 1993 I. Kosinovsky (USA-CERL)
* SPDX-FileCopyrightText: 1993 D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*
* modified by McCauley in August 1995
* modified by Mitasova in August 1995
Expand Down
22 changes: 5 additions & 17 deletions raster/r.resamp.rst/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,11 @@
* Written by H. Mitasova, I. Kosinovsky, D. Gerdes Summer 1993
* University of Illinois
* US Army Construction Engineering Research Lab
* Copyright 1993, H. Mitasova (University of Illinois),
* I. Kosinovsky, (USA-CERL), and D.Gerdes (USA-CERL)
*
*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* SPDX-FileCopyrightText: 1993 H. Mitasova (University of Illinois)
* SPDX-FileCopyrightText: 1993 I. Kosinovsky (USA-CERL)
* SPDX-FileCopyrightText: 1993 D.Gerdes (USA-CERL)
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*
*
* modified by McCauley in August 1995
Expand Down
26 changes: 4 additions & 22 deletions raster/r.sun/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,11 @@ r.sun: This program was written by Jaro Hofierka in Summer 1993 and
from JRC in Ispra a new version of r.sun was prepared using ESRA solar
radiation formulas.
See manual pages for details.
(C) 2002 Copyright Jaro Hofierka, Gresaka 22, 085 01 Bardejov, Slovakia,
and GeoModel, s.r.o., Bratislava, Slovakia
email: hofierka@geomodel.sk,marcel.suri@jrc.it,
suri@geomodel.sk Thomas.Huld@jrc.it
(c) 2003-2013 by the GRASS Development Team
SPDX-FileCopyrightText: 2002 Jaro Hofierka
SPDX-FileCopyrightText: 2002 GeoModel, s.r.o.
SPDX-FileCopyrightText: Other GRASS authors
SPDX-License-Identifier: GPL-2.0-or-later
******************************************************************************/
/*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/*v. 2.0 July 2002, NULL data handling, JH */
/*v. 2.1 January 2003, code optimization by Thomas Huld, JH */
/*v. 3.0 February 2006, several changes (shadowing algorithm, earth's curvature
Expand Down
24 changes: 4 additions & 20 deletions raster/r.sun/rsunglobals.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,11 @@ r.sun: rsunglobals.h. This program was written by Jaro Hofierka in Summer 1993
from JRC in Ispra a new version of r.sun was prepared using ESRA solar
radiation formulas.
See manual pages for details.
(C) 2002 Copyright Jaro Hofierka, Gresaka 22, 085 01 Bardejov, Slovakia,
and GeoModel, s.r.o., Bratislava, Slovakia
email: hofierka@geomodel.sk,marcel.suri@jrc.it,suri@geomodel.sk
SPDX-FileCopyrightText: 2002 Jaro Hofierka
SPDX-FileCopyrightText: 2002 GeoModel, s.r.o.
SPDX-FileCopyrightText: Other GRASS authors
SPDX-License-Identifier: GPL-2.0-or-later
******************************************************************************/
/*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/*v. 2.0 July 2002, NULL data handling, JH */
/*v. 2.1 January 2003, code optimization by Thomas Huld, JH */

Expand Down
25 changes: 5 additions & 20 deletions raster/r.sun/rsunlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,14 @@
Thomas Huld from JRC in Ispra a new version of r.sun was prepared using
ESRA solar radiation formulas. See the manual page for details.

(C) 2002 Copyright Jaro Hofierka, Gresaka 22, 085 01 Bardejov, Slovakia,
and GeoModel, s.r.o., Bratislava, Slovakia
email: hofierka at geomodel.sk, marcel.suri at jrc.it, suri at geomodel.sk
SPDX-FileCopyrightText: 2002 Jaro Hofierka
SPDX-FileCopyrightText: 2002 GeoModel, s.r.o.
SPDX-FileCopyrightText: 2011 Hamish Bowman
SPDX-FileCopyrightText: Other GRASS authors
SPDX-License-Identifier: GPL-2.0-or-later

(C) 2011 by Hamish Bowman, and the GRASS Development Team
****************************************************************************/
/*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/*v. 2.0 July 2002, NULL data handling, JH */
/*v. 2.1 January 2003, code optimization by Thomas Huld, JH */

Expand Down
24 changes: 4 additions & 20 deletions raster/r.sun/sunradstruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,11 @@ r.sun: sunradstruct.h. This program was written by Jaro Hofierka in Summer 1993
from JRC in Ispra a new version of r.sun was prepared using ESRA solar
radiation formulas.
See manual pages for details.
(C) 2002 Copyright Jaro Hofierka, Gresaka 22, 085 01 Bardejov, Slovakia,
and GeoModel, s.r.o., Bratislava, Slovakia
email: hofierka@geomodel.sk,marcel.suri@jrc.it,suri@geomodel.sk
SPDX-FileCopyrightText: 2002 Jaro Hofierka
SPDX-FileCopyrightText: 2002 GeoModel, s.r.o.
SPDX-FileCopyrightText: Other GRASS authors
SPDX-License-Identifier: GPL-2.0-or-later
*******************************************************************************/
/*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/*v. 2.0 July 2002, NULL data handling, JH */
/*v. 2.1 January 2003, code optimization by Thomas Huld, JH */

Expand Down
26 changes: 6 additions & 20 deletions raster/r.surf.area/main.c
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
/* main.c - r.surf.area */

/* Copyright Notice
* ----------------
* Written by Bill Brown, USACERL December 21, 1994
* Copyright 1994, Bill Brown, USACERL
* brown@gis.uiuc.edu
*
* This program 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 2
* of the License, or (at your option) any later version.
*
* This program 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*Written by Bill Brown, USACERL December 21,
1994
/* SPDX-FileCopyrightText: 1994 Bill Brown, USACERL <brown@gis.uiuc.edu>
/* SPDX-FileCopyrightText: Other GRASS authors
/* SPDX-License-Identifier: GPL-2.0-or-later
*/

/* Calculates area of regular 3D triangulated points
Expand Down Expand Up @@ -57,7 +43,7 @@

#include "local_proto.h"

int main(int argc, char *argv[])
int main(int argc, char *argv[])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental space?

{
struct GModule *module;
struct {
Expand Down
24 changes: 4 additions & 20 deletions vector/v.lrs/v.lrs.segment/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,10 @@
*/

/******************************************************************************
* Copyright (c) 2004-2007, Radim Blazek (blazek@itc.it),
* Hamish Bowman (side_offset bits)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
* SPDX-FileCopyrightText: 2004-2007 Radim Blazek <blazek@itc.it>
* SPDX-FileCopyrightText: 2004-2007 Hamish Bowman (side_offset bits)
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: MIT
*****************************************************************************/

#include <stdlib.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.normal/scancats.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994-1995. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994-1995 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/fische.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/myrng.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/normal00.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/normalen.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/normalrs.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/normalsv.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#include <stdio.h>
Expand Down
8 changes: 3 additions & 5 deletions vector/v.perturb/zufall.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/*
* Copyright (C) 1994. James Darrell McCauley. (darrell@mccauley-usa.com)
* http://mccauley-usa.com/
*
* This program is free software under the GPL (>=v2)
* Read the file GPL.TXT coming with GRASS for details.
* SPDX-FileCopyrightText: 1994 James Darrell McCauley
* SPDX-FileCopyrightText: Other GRASS authors
* SPDX-License-Identifier: GPL-2.0-or-later
*/

#define min(a, b) ((a) <= (b) ? (a) : (b))
Expand Down
Loading
Loading