Skip to content

Commit

Permalink
Add copyright messages to source files that lacked them
Browse files Browse the repository at this point in the history
  • Loading branch information
ec429 committed May 24, 2013
1 parent 01d9a3b commit ea19ab8
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 2 deletions.
6 changes: 6 additions & 0 deletions c_init.awk
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# quIRC - simple terminal-based IRC client
# Copyright (C) 2010-13 Edward Cree
#
# See quirc.c for license information
# c_init.awk: colour initialiser

# generate the colours initialisation c_init.c (used in colour.c) from
# colour.d, the file of colour definitions
# in records "S msg 7 0 0 1"
Expand Down
8 changes: 8 additions & 0 deletions ctbuf.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
ctbuf: coloured text buffers
*/

#include <stdio.h>
#include <stdlib.h>
#include "ctbuf.h"
Expand Down
8 changes: 8 additions & 0 deletions ctbuf.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
ctbuf: coloured text buffers
*/

#include "colour.h"

typedef struct
Expand Down
8 changes: 8 additions & 0 deletions genkeymap.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
genkeymap: generate keymapping code from data
*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down
8 changes: 8 additions & 0 deletions logging.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
logging: routines to log activity
*/

#include "logging.h"
#include <stdlib.h>
#include <string.h>
Expand Down
7 changes: 7 additions & 0 deletions logging.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#pragma once
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
logging: routines to log activity
*/

#include <stdio.h>
#include <stdbool.h>
Expand Down
11 changes: 9 additions & 2 deletions ttyraw.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// TTY RAW MODE
// Based on http://docs.linux.cz/programming/c/unix_examples/raw.html
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
ttyraw: set/unset raw mode on tty
Based on http://docs.linux.cz/programming/c/unix_examples/raw.html
*/

#include "ttyraw.h"

Expand Down
8 changes: 8 additions & 0 deletions ttyraw.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-13 Edward Cree
See quirc.c for license information
ttyraw: set/unset raw mode on tty
*/

#include <stdio.h>
#include <signal.h>
#include <termios.h>
Expand Down

0 comments on commit ea19ab8

Please sign in to comment.