From 785ba51591335ffcee1defd24cd8235ef24c4092 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 18 Feb 2025 20:09:10 -0800 Subject: [PATCH] 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. --- src/cksum.h | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) 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; -- 2.47.3