From fb0e4f3f68d933eee98daff896ad8799e1fc06b0 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Fri, 5 Feb 2021 00:00:00 -0600 Subject: [PATCH] library: update those source files for copyright dates In addition to copyright date, the initial descriptive line was changed from a generic statement to one which reflects the specific portion of the proc/ filesystem. [ such descriptions alternate between 'declarations' ] [ (h files) & corresponding 'definitions' (c files). ] Also, a few missing copyright attributions were added. Signed-off-by: Jim Warner --- proc/diskstats.c | 4 ++-- proc/diskstats.h | 4 ++-- proc/meminfo.c | 5 ++++- proc/meminfo.h | 5 ++++- proc/pids.c | 4 ++-- proc/pids.h | 4 ++-- proc/slabinfo.c | 7 ++----- proc/slabinfo.h | 4 ++-- proc/stat.c | 5 ++++- proc/stat.h | 5 ++++- proc/vmstat.c | 4 ++-- proc/vmstat.h | 4 ++-- 12 files changed, 32 insertions(+), 23 deletions(-) diff --git a/proc/diskstats.c b/proc/diskstats.c index fd2029c2..a9d2c593 100644 --- a/proc/diskstats.c +++ b/proc/diskstats.c @@ -1,10 +1,10 @@ /* - * diskstat - Disk statistics - part of procps + * diskstat.c - disk I/O related definitions for libprocps * * Copyright (C) 2003 Fabian Frederick * Copyright (C) 2003 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2016 Jim Warner + * Copyright (C) 2016-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/diskstats.h b/proc/diskstats.h index c80100f2..d6f85105 100644 --- a/proc/diskstats.h +++ b/proc/diskstats.h @@ -1,10 +1,10 @@ /* - * libprocps - Library to read proc filesystem + * diskstat.c - disk I/O related declarations for libprocps * * Copyright (c) 2003 Fabian Frederick * Copyright (C) 2003 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2016 Jim Warner + * Copyright (C) 2016-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/meminfo.c b/proc/meminfo.c index 4ab767b0..c1d9f0ee 100644 --- a/proc/meminfo.c +++ b/proc/meminfo.c @@ -1,5 +1,8 @@ /* - * libprocps - Library to read proc filesystem + * meminfo.c - memory related definitions for libprocps + * + * Copyright (C) 2015 Craig Small + * Copyright (C) 2016-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/meminfo.h b/proc/meminfo.h index ec303e54..f6197faa 100644 --- a/proc/meminfo.h +++ b/proc/meminfo.h @@ -1,5 +1,8 @@ /* - * libprocps - Library to read proc filesystem + * meminfo.h - memory related declarations for libprocps + * + * Copyright (C) 2015 Craig Small + * Copyright (C) 2016-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/pids.c b/proc/pids.c index 50212b73..e99abdd1 100644 --- a/proc/pids.c +++ b/proc/pids.c @@ -1,9 +1,9 @@ /* - * pids.c - task/thread/process related declarations for libproc + * pids.c - process related definitions for libprocps * * Copyright (C) 1998-2005 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2015 Jim Warner + * Copyright (C) 2015-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/pids.h b/proc/pids.h index cbb48d35..04c957a0 100644 --- a/proc/pids.h +++ b/proc/pids.h @@ -1,9 +1,9 @@ /* - * libprocps - Library to read proc filesystem + * pids.h - process related declarations for libprocps * * Copyright (C) 1998-2005 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2015 Jim Warner + * Copyright (C) 2015-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/slabinfo.c b/proc/slabinfo.c index d11ad5f5..73aa232e 100644 --- a/proc/slabinfo.c +++ b/proc/slabinfo.c @@ -1,13 +1,10 @@ /* - * slabinfo.c - slabinfo related functions for libproc - * - * Chris Rivera - * Robert Love + * slabinfo.c - slab pools related definitions for libprocps * * Copyright (C) 2003 Chris Rivera * Copyright (C) 2004 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2016 Jim Warnerl + * Copyright (C) 2016-2021 Jim Warnerl * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/slabinfo.h b/proc/slabinfo.h index 1423f333..94064018 100644 --- a/proc/slabinfo.h +++ b/proc/slabinfo.h @@ -1,9 +1,9 @@ /* - * libprocps - Library to read proc filesystem + * slabinfo.h - slab pools related declarations for libprocps * * Copyright (C) 1998-2005 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2016 Jim Warnerl + * Copyright (C) 2016-2021 Jim Warnerl * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/stat.c b/proc/stat.c index 5efcc03e..953deee5 100644 --- a/proc/stat.c +++ b/proc/stat.c @@ -1,5 +1,8 @@ /* - * libprocps - Library to read proc filesystem + * stat.c - cpu/numa related definitions for libprocps + * + * Copyright (C) 2015 Craig Small + * Copyright (C) 2015-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/stat.h b/proc/stat.h index 9d0f3034..325ecd7e 100644 --- a/proc/stat.h +++ b/proc/stat.h @@ -1,5 +1,8 @@ /* - * libprocps - Library to read proc filesystem + * stat.h - cpu/numa related declarations for libprocps + * + * Copyright (C) 2015 Craig Small + * Copyright (C) 2015-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/vmstat.c b/proc/vmstat.c index 5e4e2881..7e47e657 100644 --- a/proc/vmstat.c +++ b/proc/vmstat.c @@ -1,11 +1,11 @@ /* - * libprocps - Library to read proc filesystem + * vmstat,c - virtual memory related definitions for libprocps * * Copyright (C) 1995 Martin Schulze * Copyright (C) 1996 Charles Blake * Copyright (C) 2003 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2016 Jim Warner + * Copyright (C) 2016-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/proc/vmstat.h b/proc/vmstat.h index 8b6ba284..02c7650b 100644 --- a/proc/vmstat.h +++ b/proc/vmstat.h @@ -1,11 +1,11 @@ /* - * libprocps - Library to read proc filesystem + * vmstat,c - virtual memory related declarations for libprocps * * Copyright (C) 1995 Martin Schulze * Copyright (C) 1996 Charles Blake * Copyright (C) 2003 Albert Cahalan * Copyright (C) 2015 Craig Small - * Copyright (C) 2016 Jim Warner + * Copyright (C) 2016-2021 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public