diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-10-25 12:20:54 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-10-25 12:20:54 +0100 |
commit | b1965eba20eb28010dca4d5965b389420c0c941e (patch) | |
tree | 9d7993db49b04c487d6d0b62612472c2d9c2f796 /unittests.c | |
parent | 7b7f94de3462845c36b2831719b6448fe173f2f7 (diff) | |
download | dynstr-b1965eba20eb28010dca4d5965b389420c0c941e.tar.gz |
Reformat files, add comments, add copyright and license info.
Diffstat (limited to 'unittests.c')
-rw-r--r-- | unittests.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/unittests.c b/unittests.c index 32bb270..a0d84c8 100644 --- a/unittests.c +++ b/unittests.c @@ -1,4 +1,22 @@ -#define _POSIX_C_SOURCE 200112L +/* + * unittests.c - unit tests for dynamic byte strings + * Copyright 2010 Lars Wirzenius + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + #define _GNU_SOURCE #include <setjmp.h> |