lel

farbfeld image viewer
git clone git://git.2f30.org/lel
Log | Files | Refs | README | LICENSE

commit 1c42ab6acadcd9ca7e67d43c0d8f5861a06b970d
parent b2dacdc146fad38706b29b984d86de173a189483
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 27 Jul 2016 19:14:15 +0200

remove LICENSE from lel.1 header, add Svyatoslav Mishyn <juef@openmailbox.org> to LICENSE file

+ some minor cleanup.

Diffstat:
MLICENSE | 6++++--
Mlel.1 | 21---------------------
Mlel.c | 6+++---
3 files changed, 7 insertions(+), 26 deletions(-)

diff --git a/LICENSE b/LICENSE @@ -1,7 +1,9 @@ MIT/X Consortium License -(c) 2014 Hiltjo Posthuma <hiltjo@codemadness.org> -(c) 2014 sin <sin@2f30.org> +(c) 2014-2016 Hiltjo Posthuma <hiltjo@codemadness.org> + +(c) 2014-2016 sin <sin@2f30.org> +(c) 2016 Svyatoslav Mishyn <juef@openmailbox.org> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/lel.1 b/lel.1 @@ -1,24 +1,3 @@ -.\" -.\" Copyright (c) 2016 Svyatoslav Mishyn <juef@openmailbox.org> -.\" -.\" Permission is hereby granted, free of charge, to any person obtaining a -.\" copy of this software and associated documentation files (the "Software"), -.\" to deal in the Software without restriction, including without limitation -.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, -.\" and/or sell copies of the Software, and to permit persons to whom the -.\" Software is furnished to do so, subject to the following conditions: -.\" -.\" The above copyright notice and this permission notice shall be included in -.\" all copies or substantial portions of the Software. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -.\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -.\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -.\" DEALINGS IN THE SOFTWARE. -.\" .Dd July 26, 2016 .Dt LEL 1 .Os diff --git a/lel.c b/lel.c @@ -2,7 +2,6 @@ #include <arpa/inet.h> #include <errno.h> -#include <unistd.h> #include <signal.h> #include <stdarg.h> #include <stdint.h> @@ -10,6 +9,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <unistd.h> #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -81,8 +81,8 @@ die(const char *fmt, ...) static void usage(void) { - die("%s", APP_NAME " " VERSION " - (c) 2014 " APP_NAME " engineers\n\n" - "usage: " APP_NAME "[OPTIONS...] [FILE]\n" + die("%s", APP_NAME " " VERSION "\n\n" + "usage: " APP_NAME " [OPTIONS...] [FILE]\n" " -a Full window, keep aspect ratio\n" " -f Full window, stretch (no aspect)\n" " -w <w> Window width\n"