diff options
author | June McEnroe <june@causal.agency> | 2017-08-24 15:43:35 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-08-24 15:43:35 -0400 |
commit | 6e12e88d912db136e193a5906952c6fe93c486a6 (patch) | |
tree | 93ff3f9ee4b849029b1880d132155d8d0d2379f9 | |
parent | Add nethack to index.html (diff) | |
download | torus-6e12e88d912db136e193a5906952c6fe93c486a6.tar.gz torus-6e12e88d912db136e193a5906952c6fe93c486a6.zip |
Add license to C files
I feel like doing this now.
Diffstat (limited to '')
-rwxr-xr-x | client.c | 16 | ||||
-rwxr-xr-x | help.c | 16 | ||||
-rwxr-xr-x | server.c | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/client.c b/client.c index fa49950..fb97490 100755 --- a/client.c +++ b/client.c @@ -2,6 +2,22 @@ exec cc -Wall -Wextra -pedantic $@ -lcurses -o client $0 #endif +/* + * Copyright (c) 2017, June McEnroe <june@causal.agency> + * + * Permission to use, copy, modify, and/or 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. + */ + #include <ctype.h> #include <curses.h> #include <err.h> diff --git a/help.c b/help.c index eb5486b..5ec2c11 100755 --- a/help.c +++ b/help.c @@ -2,6 +2,22 @@ exec cc -Wall -Wextra -pedantic $@ -o help $0 #endif +/* + * Copyright (c) 2017, June McEnroe <june@causal.agency> + * + * Permission to use, copy, modify, and/or 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. + */ + #include <err.h> #include <stdint.h> #include <sys/socket.h> diff --git a/server.c b/server.c index e360067..db51564 100755 --- a/server.c +++ b/server.c @@ -2,6 +2,22 @@ exec cc -Wall -Wextra -pedantic $@ -o server $0 #endif +/* + * Copyright (c) 2017, June McEnroe <june@causal.agency> + * + * Permission to use, copy, modify, and/or 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. + */ + #include <sys/types.h> #include <err.h> |