# HG changeset patch # User Eric Wing # Date 1289029475 25200 # Node ID 1c27a52c5b15b93fef8c7dc971ac74c8fc698ff4 # Parent 54aa96ae89122eec181d1592a194db71aa508e33 Added copyright. diff -r 54aa96ae8912 -r 1c27a52c5b15 LinkedList.h --- a/LinkedList.h Sat Nov 06 00:37:29 2010 -0700 +++ b/LinkedList.h Sat Nov 06 00:44:35 2010 -0700 @@ -1,3 +1,27 @@ +/* + LinkedList + Copyright (C) 2010 Eric Wing + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +/* I'm so sick of constantly rewriting linked lists in C. +So here's some initial work to write a very simple reusable implementation. +The API could use a lot more functions, but I'll add them as I need them. +*/ + #ifndef C_LINKED_LIST_H #define C_LINKED_LIST_H