From 37cc20add8fb5b83bb5299a26cd3b41e0f776017 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Thu, 10 Oct 2024 14:09:02 -0700 Subject: [PATCH] chore: Clean up the leading blank lines from all source files The leading blank lines are apparently an artefact of an older source control system. They are not required and they look like accidents, because starting a source file with a blank line is not a regular habit of software developers nowadays. Signed-off-by: John Bowler Signed-off-by: Cosmin Truta --- CMakeLists.txt | 1 - arm/arm_init.c | 1 - arm/filter_neon.S | 1 - contrib/examples/README.txt | 1 - contrib/libtests/pngimage.c | 1 - contrib/libtests/pngstest.c | 1 - contrib/libtests/pngunknown.c | 1 - contrib/libtests/pngvalid.c | 1 - contrib/libtests/readpng.c | 1 - contrib/libtests/tarith.c | 1 - contrib/libtests/timepng.c | 1 - contrib/mips-mmi/linux.c | 1 - contrib/mips-msa/linux.c | 1 - contrib/pngminim/README | 1 - contrib/pngminus/CHANGES.txt | 1 - contrib/pngminus/LICENSE.txt | 1 - contrib/pngsuite/README | 1 - contrib/pngsuite/interlaced/README | 1 - example.c | 1 - manuals/libpng-install.txt | 1 - mips/mips_init.c | 1 - png.c | 1 - png.h | 1 - pngconf.h | 1 - pngdebug.h | 1 - pngerror.c | 1 - pngget.c | 1 - pnginfo.h | 1 - pngmem.c | 1 - pngpread.c | 1 - pngpriv.h | 1 - pngread.c | 1 - pngrio.c | 1 - pngrtran.c | 1 - pngrutil.c | 1 - pngset.c | 1 - pngsimd.c | 1 - pngstruct.h | 1 - pngtarget.h | 1 - pngtest.c | 1 - pngtrans.c | 1 - pngwio.c | 1 - pngwrite.c | 1 - pngwtran.c | 1 - pngwutil.c | 1 - scripts/descrip.mms | 1 - scripts/intprefix.c | 1 - scripts/libpng-config-body.in | 1 - scripts/prefix.c | 1 - scripts/sym.c | 1 - scripts/symbols.c | 1 - scripts/vers.c | 1 - 52 files changed, 52 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a29eae47c5..c34c7a5529 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,3 @@ - # CMakeLists.txt - CMake lists for libpng # # Copyright (c) 2018-2024 Cosmin Truta. diff --git a/arm/arm_init.c b/arm/arm_init.c index 63281fc869..0f10b14cf0 100644 --- a/arm/arm_init.c +++ b/arm/arm_init.c @@ -1,4 +1,3 @@ - /* arm_init.c - NEON optimised filter functions * * Copyright (c) 2018-2022 Cosmin Truta diff --git a/arm/filter_neon.S b/arm/filter_neon.S index fc3c7a2964..0cbd372cb1 100644 --- a/arm/filter_neon.S +++ b/arm/filter_neon.S @@ -1,4 +1,3 @@ - /* filter_neon.S - placeholder file * * Copyright (c) 2024 Cosmin Truta diff --git a/contrib/examples/README.txt b/contrib/examples/README.txt index 48dab4f0fd..7833d536cc 100644 --- a/contrib/examples/README.txt +++ b/contrib/examples/README.txt @@ -1,4 +1,3 @@ - This directory (contrib/examples) contains examples of libpng usage. NO COPYRIGHT RIGHTS ARE CLAIMED TO ANY OF THE FILES IN THIS DIRECTORY. diff --git a/contrib/libtests/pngimage.c b/contrib/libtests/pngimage.c index ea30ea7e39..83bdaf4ce6 100644 --- a/contrib/libtests/pngimage.c +++ b/contrib/libtests/pngimage.c @@ -1,4 +1,3 @@ - /* pngimage.c * * Copyright (c) 2021-2024 Cosmin Truta diff --git a/contrib/libtests/pngstest.c b/contrib/libtests/pngstest.c index e83466b806..0f9b16cb53 100644 --- a/contrib/libtests/pngstest.c +++ b/contrib/libtests/pngstest.c @@ -1,4 +1,3 @@ - /* pngstest.c * * Copyright (c) 2021-2024 Cosmin Truta diff --git a/contrib/libtests/pngunknown.c b/contrib/libtests/pngunknown.c index 72f118fc44..9528ab9f09 100644 --- a/contrib/libtests/pngunknown.c +++ b/contrib/libtests/pngunknown.c @@ -1,4 +1,3 @@ - /* pngunknown.c - test the read side unknown chunk handling * * Copyright (c) 2021-2024 Cosmin Truta diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index c379982fec..d7d7a2ef77 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -1,4 +1,3 @@ - /* pngvalid.c - validate libpng by constructing then reading png files. * * Copyright (c) 2021-2024 Cosmin Truta diff --git a/contrib/libtests/readpng.c b/contrib/libtests/readpng.c index 7528e90bd9..376616a1fb 100644 --- a/contrib/libtests/readpng.c +++ b/contrib/libtests/readpng.c @@ -1,4 +1,3 @@ - /* readpng.c * * Copyright (c) 2013 John Cunningham Bowler diff --git a/contrib/libtests/tarith.c b/contrib/libtests/tarith.c index e35b7ab266..d41b9e1779 100644 --- a/contrib/libtests/tarith.c +++ b/contrib/libtests/tarith.c @@ -1,4 +1,3 @@ - /* tarith.c * * Copyright (c) 2021 Cosmin Truta diff --git a/contrib/libtests/timepng.c b/contrib/libtests/timepng.c index 0093a4548e..a66f51345f 100644 --- a/contrib/libtests/timepng.c +++ b/contrib/libtests/timepng.c @@ -1,4 +1,3 @@ - /* timepng.c * * Copyright (c) 2013,2016 John Cunningham Bowler diff --git a/contrib/mips-mmi/linux.c b/contrib/mips-mmi/linux.c index 31525fde9a..dc003807c5 100644 --- a/contrib/mips-mmi/linux.c +++ b/contrib/mips-mmi/linux.c @@ -1,4 +1,3 @@ - /* contrib/mips-mmi/linux.c * * Copyright (c) 2024 Cosmin Truta diff --git a/contrib/mips-msa/linux.c b/contrib/mips-msa/linux.c index cae8ca50ff..5651df707e 100644 --- a/contrib/mips-msa/linux.c +++ b/contrib/mips-msa/linux.c @@ -1,4 +1,3 @@ - /* contrib/mips-msa/linux.c * * Copyright (c) 2020-2023 Cosmin Truta diff --git a/contrib/pngminim/README b/contrib/pngminim/README index e17fe35b6a..51d5a3c230 100644 --- a/contrib/pngminim/README +++ b/contrib/pngminim/README @@ -1,4 +1,3 @@ - This demonstrates the use of PNG_USER_CONFIG, pngusr.h and pngusr.dfa to build minimal decoder, encoder, and progressive reader applications. diff --git a/contrib/pngminus/CHANGES.txt b/contrib/pngminus/CHANGES.txt index 85e590a4a2..12535b13cf 100644 --- a/contrib/pngminus/CHANGES.txt +++ b/contrib/pngminus/CHANGES.txt @@ -1,4 +1,3 @@ - pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file copyright (C) 1999-2019 by Willem van Schaik diff --git a/contrib/pngminus/LICENSE.txt b/contrib/pngminus/LICENSE.txt index a8d4137280..6bdb4f8798 100644 --- a/contrib/pngminus/LICENSE.txt +++ b/contrib/pngminus/LICENSE.txt @@ -1,4 +1,3 @@ - pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file copyright (C) 1999-2019 by Willem van Schaik diff --git a/contrib/pngsuite/README b/contrib/pngsuite/README index d236b02e7c..25f0f54fda 100644 --- a/contrib/pngsuite/README +++ b/contrib/pngsuite/README @@ -1,4 +1,3 @@ - pngsuite -------- Copyright (c) Willem van Schaik, 1999, 2011, 2012 diff --git a/contrib/pngsuite/interlaced/README b/contrib/pngsuite/interlaced/README index f171eee01a..296fffba6f 100644 --- a/contrib/pngsuite/interlaced/README +++ b/contrib/pngsuite/interlaced/README @@ -1,2 +1 @@ - These images fail the "pngimage-quick" and "pngimage-full" tests. diff --git a/example.c b/example.c index 3465fbb372..dd53d8a871 100644 --- a/example.c +++ b/example.c @@ -1,4 +1,3 @@ - #if 0 /* in case someone actually tries to compile this */ /* example.c - an example of using libpng diff --git a/manuals/libpng-install.txt b/manuals/libpng-install.txt index 814d320399..bff5202020 100644 --- a/manuals/libpng-install.txt +++ b/manuals/libpng-install.txt @@ -1,4 +1,3 @@ - Installing libpng Contents diff --git a/mips/mips_init.c b/mips/mips_init.c index 12b113ec02..0f9e4a0a05 100644 --- a/mips/mips_init.c +++ b/mips/mips_init.c @@ -1,4 +1,3 @@ - /* mips_init.c - MSA optimised filter functions * * Copyright (c) 2018 Cosmin Truta diff --git a/png.c b/png.c index 57cfaab9a6..97d3afd298 100644 --- a/png.c +++ b/png.c @@ -1,4 +1,3 @@ - /* png.c - location for general purpose libpng functions * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/png.h b/png.h index 7a12e05764..a30fb99e02 100644 --- a/png.h +++ b/png.h @@ -1,4 +1,3 @@ - /* png.h - header file for PNG reference library * * libpng version 1.8.0.git diff --git a/pngconf.h b/pngconf.h index 3936bc8a05..df9e099563 100644 --- a/pngconf.h +++ b/pngconf.h @@ -1,4 +1,3 @@ - /* pngconf.h - machine-configurable file for libpng * * libpng version 1.8.0.git diff --git a/pngdebug.h b/pngdebug.h index 00d5a4569e..ab9ea632d9 100644 --- a/pngdebug.h +++ b/pngdebug.h @@ -1,4 +1,3 @@ - /* pngdebug.h - Debugging macros for libpng, also used in pngtest.c * * Copyright (c) 2018 Cosmin Truta diff --git a/pngerror.c b/pngerror.c index 1babf9f8d2..aa0ae58e15 100644 --- a/pngerror.c +++ b/pngerror.c @@ -1,4 +1,3 @@ - /* pngerror.c - stub functions for i/o and memory allocation * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngget.c b/pngget.c index 042d737648..2b873a8846 100644 --- a/pngget.c +++ b/pngget.c @@ -1,4 +1,3 @@ - /* pngget.c - retrieval of values from info struct * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pnginfo.h b/pnginfo.h index 7df4f5b845..e85420c1ad 100644 --- a/pnginfo.h +++ b/pnginfo.h @@ -1,4 +1,3 @@ - /* pnginfo.h - header file for PNG reference library * * Copyright (c) 2018 Cosmin Truta diff --git a/pngmem.c b/pngmem.c index 09ed9c1c99..d391c13ff4 100644 --- a/pngmem.c +++ b/pngmem.c @@ -1,4 +1,3 @@ - /* pngmem.c - stub functions for memory allocation * * Copyright (c) 2018 Cosmin Truta diff --git a/pngpread.c b/pngpread.c index c5fa70523f..1af4e68063 100644 --- a/pngpread.c +++ b/pngpread.c @@ -1,4 +1,3 @@ - /* pngpread.c - read a png file in push mode * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngpriv.h b/pngpriv.h index 92a6b8d8b7..102ccbae2c 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -1,4 +1,3 @@ - /* pngpriv.h - private declarations for use inside libpng * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngread.c b/pngread.c index 319153b743..3ec5623a00 100644 --- a/pngread.c +++ b/pngread.c @@ -1,4 +1,3 @@ - /* pngread.c - read a PNG file * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngrio.c b/pngrio.c index 7946358101..3b137f275f 100644 --- a/pngrio.c +++ b/pngrio.c @@ -1,4 +1,3 @@ - /* pngrio.c - functions for data input * * Copyright (c) 2018 Cosmin Truta diff --git a/pngrtran.c b/pngrtran.c index 545e97b644..e82e467bf5 100644 --- a/pngrtran.c +++ b/pngrtran.c @@ -1,4 +1,3 @@ - /* pngrtran.c - transforms the data in a row for PNG readers * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngrutil.c b/pngrutil.c index 89b36e30ff..eacc88bd0b 100644 --- a/pngrutil.c +++ b/pngrutil.c @@ -1,4 +1,3 @@ - /* pngrutil.c - utilities to read a PNG file * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngset.c b/pngset.c index c5590a9a57..81f8bea603 100644 --- a/pngset.c +++ b/pngset.c @@ -1,4 +1,3 @@ - /* pngset.c - storage of image information into info struct * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngsimd.c b/pngsimd.c index 8a35f53920..ec39d7584c 100644 --- a/pngsimd.c +++ b/pngsimd.c @@ -1,4 +1,3 @@ - /* pngsimd.c - hardware (cpu/arch) specific code * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngstruct.h b/pngstruct.h index 39d94665c0..e77d69bc2b 100644 --- a/pngstruct.h +++ b/pngstruct.h @@ -1,4 +1,3 @@ - /* pngstruct.h - header file for PNG reference library * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngtarget.h b/pngtarget.h index e6c7e6a52b..135325a717 100644 --- a/pngtarget.h +++ b/pngtarget.h @@ -1,4 +1,3 @@ - /* pngtarget.h - target configuration file for libpng * * libpng version 1.6.44.git diff --git a/pngtest.c b/pngtest.c index 1a319da516..20428bfc1f 100644 --- a/pngtest.c +++ b/pngtest.c @@ -1,4 +1,3 @@ - /* pngtest.c - a test program for libpng * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngtrans.c b/pngtrans.c index 62cb21edf1..222b4987f9 100644 --- a/pngtrans.c +++ b/pngtrans.c @@ -1,4 +1,3 @@ - /* pngtrans.c - transforms the data in a row (used by both readers and writers) * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngwio.c b/pngwio.c index 10e919dd03..38c9c006cb 100644 --- a/pngwio.c +++ b/pngwio.c @@ -1,4 +1,3 @@ - /* pngwio.c - functions for data output * * Copyright (c) 2018 Cosmin Truta diff --git a/pngwrite.c b/pngwrite.c index f659afdf52..18b29e38a4 100644 --- a/pngwrite.c +++ b/pngwrite.c @@ -1,4 +1,3 @@ - /* pngwrite.c - general routines to write a PNG file * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/pngwtran.c b/pngwtran.c index 49a13c1e98..a20847023f 100644 --- a/pngwtran.c +++ b/pngwtran.c @@ -1,4 +1,3 @@ - /* pngwtran.c - transforms the data in a row for PNG writers * * Copyright (c) 2018 Cosmin Truta diff --git a/pngwutil.c b/pngwutil.c index b8f8d170d1..9f588255ec 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -1,4 +1,3 @@ - /* pngwutil.c - utilities to write a PNG file * * Copyright (c) 2018-2024 Cosmin Truta diff --git a/scripts/descrip.mms b/scripts/descrip.mms index c440fc3505..f0d0b48969 100644 --- a/scripts/descrip.mms +++ b/scripts/descrip.mms @@ -1,4 +1,3 @@ - cc_defs = /inc=$(ZLIBSRC) c_deb = diff --git a/scripts/intprefix.c b/scripts/intprefix.c index 4085e5401b..3c9dc57a5d 100644 --- a/scripts/intprefix.c +++ b/scripts/intprefix.c @@ -1,4 +1,3 @@ - /* intprefix.c - generate an unprefixed internal symbol list * * Copyright (c) 2013-2014 Glenn Randers-Pehrson diff --git a/scripts/libpng-config-body.in b/scripts/libpng-config-body.in index b466432d54..181984b4b4 100644 --- a/scripts/libpng-config-body.in +++ b/scripts/libpng-config-body.in @@ -1,4 +1,3 @@ - usage() { cat <