From: Paul Eggert Date: Wed, 19 Feb 2025 04:09:10 +0000 (-0800) Subject: cksum: make cksum.h standalone X-Git-Tag: v9.7~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=785ba51591335ffcee1defd24cd8235ef24c4092;p=thirdparty%2Fcoreutils.git cksum: make cksum.h standalone * src/cksum.h: Include stdint.h, stdio.h so that this file can be included in any order, after config.h. Add a copyright notice. --- diff --git a/src/cksum.h b/src/cksum.h index c42491a95b..d866a7b74e 100644 --- a/src/cksum.h +++ b/src/cksum.h @@ -1,5 +1,24 @@ +/* Calculate checksums and sizes of files + Copyright 2025 Free Software Foundation, Inc. + + 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 3 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, see . */ + #ifndef __CKSUM_H__ -# define __CKSUM_H__ +#define __CKSUM_H__ + +#include +#include extern bool cksum_debug;