Browse Source

add copyright headers

Conflicts:
	huffman.c
foxsat
HummyPkg 3 years ago
parent
commit
6a2e15e712
  1. 2
      Makefile
  2. 5
      channel.c
  3. 5
      descriptor.c
  4. 5
      descriptor.h
  5. 5
      epg.c
  6. 4
      epg.h
  7. 5
      file.c
  8. 1
      huffman.c
  9. 4
      lint.h
  10. 4
      util.c
  11. 4
      util.h

2
Makefile

@ -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=

5
channel.c

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

5
descriptor.c

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

5
descriptor.h

@ -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

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

4
epg.h

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

5
file.c

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

1
huffman.c

@ -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

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

4
util.c

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

4
util.h

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

Loading…
Cancel
Save