diff options
author | June McEnroe <programble@gmail.com> | 2017-08-24 15:43:35 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-08-24 15:43:35 -0400 |
commit | a1072a42cc9bbd2950aef2a0b8b66700c262974e (patch) | |
tree | 6dff35d43ab7678b07e8ccebd4b187f8c9f68521 | |
parent | Add nethack to index.html (diff) | |
download | torus-a1072a42cc9bbd2950aef2a0b8b66700c262974e.tar.gz torus-a1072a42cc9bbd2950aef2a0b8b66700c262974e.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..849bebf 100755 --- a/client.c +++ b/client.c @@ -2,6 +2,22 @@ exec cc -Wall -Wextra -pedantic $@ -lcurses -o client $0 #endif +/* + * Copyright (c) 2017, Curtis McEnroe <curtis@cmcenroe.me> + * + * 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..0ed449b 100755 --- a/help.c +++ b/help.c @@ -2,6 +2,22 @@ exec cc -Wall -Wextra -pedantic $@ -o help $0 #endif +/* + * Copyright (c) 2017, Curtis McEnroe <curtis@cmcenroe.me> + * + * 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..3f73572 100755 --- a/server.c +++ b/server.c @@ -2,6 +2,22 @@ exec cc -Wall -Wextra -pedantic $@ -o server $0 #endif +/* + * Copyright (c) 2017, Curtis McEnroe <curtis@cmcenroe.me> + * + * 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> |