Skip to content

Commit

Permalink
chore: Clean up the leading blank lines from all source files
Browse files Browse the repository at this point in the history
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 <jbowler@acm.org>
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
  • Loading branch information
jbowler authored and ctruta committed Oct 11, 2024
1 parent 79fd6d1 commit 37cc20a
Show file tree
Hide file tree
Showing 52 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# CMakeLists.txt - CMake lists for libpng
#
# Copyright (c) 2018-2024 Cosmin Truta.
Expand Down
1 change: 0 additions & 1 deletion arm/arm_init.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* arm_init.c - NEON optimised filter functions
*
* Copyright (c) 2018-2022 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion arm/filter_neon.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* filter_neon.S - placeholder file
*
* Copyright (c) 2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/examples/README.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/pngimage.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngimage.c
*
* Copyright (c) 2021-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/pngstest.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngstest.c
*
* Copyright (c) 2021-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/pngunknown.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngunknown.c - test the read side unknown chunk handling
*
* Copyright (c) 2021-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/pngvalid.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngvalid.c - validate libpng by constructing then reading png files.
*
* Copyright (c) 2021-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/readpng.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* readpng.c
*
* Copyright (c) 2013 John Cunningham Bowler
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/tarith.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* tarith.c
*
* Copyright (c) 2021 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/libtests/timepng.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* timepng.c
*
* Copyright (c) 2013,2016 John Cunningham Bowler
Expand Down
1 change: 0 additions & 1 deletion contrib/mips-mmi/linux.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* contrib/mips-mmi/linux.c
*
* Copyright (c) 2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/mips-msa/linux.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* contrib/mips-msa/linux.c
*
* Copyright (c) 2020-2023 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion contrib/pngminim/README
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 0 additions & 1 deletion contrib/pngminus/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file
copyright (C) 1999-2019 by Willem van Schaik <willem at schaik dot com>

Expand Down
1 change: 0 additions & 1 deletion contrib/pngminus/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file

copyright (C) 1999-2019 by Willem van Schaik <willem at schaik dot com>
Expand Down
1 change: 0 additions & 1 deletion contrib/pngsuite/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

pngsuite
--------
Copyright (c) Willem van Schaik, 1999, 2011, 2012
Expand Down
1 change: 0 additions & 1 deletion contrib/pngsuite/interlaced/README
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

These images fail the "pngimage-quick" and "pngimage-full" tests.
1 change: 0 additions & 1 deletion example.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#if 0 /* in case someone actually tries to compile this */

/* example.c - an example of using libpng
Expand Down
1 change: 0 additions & 1 deletion manuals/libpng-install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Installing libpng

Contents
Expand Down
1 change: 0 additions & 1 deletion mips/mips_init.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* mips_init.c - MSA optimised filter functions
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion png.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* png.c - location for general purpose libpng functions
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion png.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* png.h - header file for PNG reference library
*
* libpng version 1.8.0.git
Expand Down
1 change: 0 additions & 1 deletion pngconf.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngconf.h - machine-configurable file for libpng
*
* libpng version 1.8.0.git
Expand Down
1 change: 0 additions & 1 deletion pngdebug.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngdebug.h - Debugging macros for libpng, also used in pngtest.c
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngerror.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngerror.c - stub functions for i/o and memory allocation
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngget.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngget.c - retrieval of values from info struct
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pnginfo.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pnginfo.h - header file for PNG reference library
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngmem.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngmem.c - stub functions for memory allocation
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngpread.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngpread.c - read a png file in push mode
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngpriv.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngpriv.h - private declarations for use inside libpng
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngread.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngread.c - read a PNG file
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngrio.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngrio.c - functions for data input
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngrtran.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngrtran.c - transforms the data in a row for PNG readers
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngrutil.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngrutil.c - utilities to read a PNG file
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngset.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngset.c - storage of image information into info struct
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngsimd.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngsimd.c - hardware (cpu/arch) specific code
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngstruct.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngstruct.h - header file for PNG reference library
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngtarget.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngtarget.h - target configuration file for libpng
*
* libpng version 1.6.44.git
Expand Down
1 change: 0 additions & 1 deletion pngtest.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngtest.c - a test program for libpng
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngtrans.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngtrans.c - transforms the data in a row (used by both readers and writers)
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngwio.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngwio.c - functions for data output
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngwrite.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngwrite.c - general routines to write a PNG file
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngwtran.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngwtran.c - transforms the data in a row for PNG writers
*
* Copyright (c) 2018 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion pngwutil.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* pngwutil.c - utilities to write a PNG file
*
* Copyright (c) 2018-2024 Cosmin Truta
Expand Down
1 change: 0 additions & 1 deletion scripts/descrip.mms
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

cc_defs = /inc=$(ZLIBSRC)
c_deb =

Expand Down
1 change: 0 additions & 1 deletion scripts/intprefix.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* intprefix.c - generate an unprefixed internal symbol list
*
* Copyright (c) 2013-2014 Glenn Randers-Pehrson
Expand Down
1 change: 0 additions & 1 deletion scripts/libpng-config-body.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

usage()
{
cat <<EOF
Expand Down
1 change: 0 additions & 1 deletion scripts/prefix.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* prefix.c - generate an unprefixed symbol list
*
* Copyright (c) 2013-2014 Glenn Randers-Pehrson
Expand Down
1 change: 0 additions & 1 deletion scripts/sym.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* sym.c - define format of libpng.sym
*
* Copyright (c) 2011-2014 Glenn Randers-Pehrson
Expand Down
1 change: 0 additions & 1 deletion scripts/symbols.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* symbols.c - find all exported symbols
*
* Copyright (c) 2011-2014 Glenn Randers-Pehrson
Expand Down
1 change: 0 additions & 1 deletion scripts/vers.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/* vers.c - define format of libpng.vers
*
* Copyright (c) 2011-2014 Glenn Randers-Pehrson
Expand Down

0 comments on commit 37cc20a

Please sign in to comment.