Added LICENSE statements to all source files

This commit is contained in:
Aaron Marcher 2017-09-17 17:45:03 +02:00
parent 914440b4fc
commit 11d4bec648
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A
21 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <limits.h>
#include <stdio.h>
#include <string.h>

1
cpu.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <string.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <time.h>
#include "util.h"

1
disk.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <stdio.h>
#include <sys/statvfs.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "util.h"

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <unistd.h>

1
ip.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <ifaddrs.h>
#include <netdb.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <sys/utsname.h>
#include <stdio.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <X11/Xlib.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <stdlib.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <dirent.h>
#include <err.h>
#include <stdio.h>

1
ram.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "util.h"

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <stdio.h>
#include <string.h>

1
swap.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <stdio.h>
#include <string.h>

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "util.h"

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <sys/sysinfo.h>
#include "util.h"

1
user.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <pwd.h>
#include <sys/types.h>

1
util.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <errno.h>
#include <stdarg.h>

1
util.h
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
extern char buf[1024];
#define LEN(x) (sizeof (x) / sizeof *(x))

View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <fcntl.h>
#include <sys/soundcard.h>

1
wifi.c
View file

@ -1,3 +1,4 @@
/* See LICENSE file for copyright and license details. */
#include <err.h>
#include <ifaddrs.h>
#include <linux/wireless.h>