catpoint

simple slides viewer
git clone git://git.2f30.org/catpoint
Log | Files | Refs | README | LICENSE

commit 47fdb684c29d1771df2e1d59b0204bc7865c699b
parent cd3bb0fb510fc579df73e98fd06bf84826089eef
Author: FRIGN <dev@frign.de>
Date:   Fri, 11 Jul 2014 14:18:25 +0200

Remove curses-remnants

and superfluous headers.

Diffstat:
Mcatpoint.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/catpoint.c b/catpoint.c @@ -1,12 +1,10 @@ /* $Id: catpoint.c,v 1.4 2013/12/12 15:27:07 lostd Exp $ */ -#include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <err.h> #include <fcntl.h> -#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <termios.h> @@ -30,8 +28,6 @@ main(int argc, char *argv[]) argv++; argc--; - setlocale(LC_ALL, ""); - s = malloc(argc * sizeof(struct slide)); if (s == NULL) err(1, "malloc");