netstar pushed a commit to branch master. http://git.enlightenment.org/apps/evisum.git/commit/?id=c0f6d7490332bd9fdaaaeeeba76f649748dbbe1f
commit c0f6d7490332bd9fdaaaeeeba76f649748dbbe1f Author: Alastair Poole <[email protected]> Date: Fri Jul 10 11:58:09 2020 +0100 Add Copyright. --- src/bin/system/machine/cpu.bogox | 16 ++++++++++++++++ src/bin/system/machine/machine.bogox | 16 ++++++++++++++++ src/bin/system/machine/memory.bogox | 16 ++++++++++++++++ src/bin/system/machine/network.bogox | 15 +++++++++++++++ 4 files changed, 63 insertions(+) diff --git a/src/bin/system/machine/cpu.bogox b/src/bin/system/machine/cpu.bogox index cae6836..85f2f51 100644 --- a/src/bin/system/machine/cpu.bogox +++ b/src/bin/system/machine/cpu.bogox @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018 Alastair Roy Poole <[email protected]> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + #if defined(__OpenBSD__) # define CPU_STATES 6 #else diff --git a/src/bin/system/machine/machine.bogox b/src/bin/system/machine/machine.bogox index cfaf0d0..1bdd25c 100644 --- a/src/bin/system/machine/machine.bogox +++ b/src/bin/system/machine/machine.bogox @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018 Alastair Roy Poole <[email protected]> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +x #if defined(__linux__) char * file_contents(const char *path) diff --git a/src/bin/system/machine/memory.bogox b/src/bin/system/machine/memory.bogox index 66b7693..795aeda 100644 --- a/src/bin/system/machine/memory.bogox +++ b/src/bin/system/machine/memory.bogox @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2018 Alastair Roy Poole <[email protected]> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + #if defined(__linux__) static unsigned long _meminfo_parse_line(const char *line) diff --git a/src/bin/system/machine/network.bogox b/src/bin/system/machine/network.bogox index 208da8f..688547e 100644 --- a/src/bin/system/machine/network.bogox +++ b/src/bin/system/machine/network.bogox @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2018 Alastair Roy Poole <[email protected]> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ #if defined(__MacOS__) || defined(__FreeBSD__) || defined(__DragonFly__) static void --
