add copyright headers

Conflicts:
	huffman.c
This commit is contained in:
HummyPkg 2019-01-25 15:58:24 +00:00
parent 606a8d9922
commit 6a2e15e712
11 changed files with 41 additions and 3 deletions

View File

@ -18,8 +18,6 @@ HDRS= descriptor.h \
OBJS= $(SRCS:.c=.o)
CC=gcc
#CC=mipsel-linux-gcc
PLATFORM=$(shell uname -s | cut -d- -f1)
PROCESSOR=$(shell uname -p)
CFLAGS=-g
INCS=
LIBS=

View File

@ -1,3 +1,8 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include <stdio.h>
#include <errno.h>
#include <string.h>

View File

@ -1,3 +1,8 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include <stdio.h>
#include <errno.h>
#include <string.h>

View File

@ -1,3 +1,8 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#define DS_LINKAGE 74
#define DS_SHORT_EVENT 77
#define DS_COMPONENT 80

5
epg.c
View File

@ -1,3 +1,8 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include <stdio.h>
#include <errno.h>
#include <string.h>

4
epg.h
View File

@ -1,3 +1,7 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include <sys/param.h>

5
file.c
View File

@ -1,3 +1,8 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include <stdio.h>
#include <errno.h>
#include <ctype.h>

View File

@ -11,7 +11,6 @@
* https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
*/
#include <stdio.h>
#include <errno.h>
#include <string.h>

4
lint.h
View File

@ -1,3 +1,7 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include "epg.h"
#include "descriptor.h"

4
util.c
View File

@ -1,3 +1,7 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
#include <stdio.h>
#include <errno.h>

4
util.h
View File

@ -1,3 +1,7 @@
/*
* Humax EPG Tool
* by af123, 2011
*/
/* Works for modern dates, 1970 - 2038 */
#define MJD_TO_UNIX(xx) (((xx) - 40587) * 86400)