X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=idlcomp%2Finput.cc;h=80a5f876edbedc7cecd26dba13e0573706db2618;hp=f7724193f73c6b3ebaaa70cc1c33ee80991a0c12;hb=b4890229f8a85f10d34090f9ff38a7de5730ce6c;hpb=7da27a216a7f4bb3331fe315cdbec69bfcf2c762 diff --git a/idlcomp/input.cc b/idlcomp/input.cc index f772419..80a5f87 100644 --- a/idlcomp/input.cc +++ b/idlcomp/input.cc @@ -1,7 +1,16 @@ -/* input.cc -- Code to load symbols from a legacy filesystem - * - * Written by Scott Wood - */ +// Code to load symbols from a legacy filesystem +// +// This software is copyright (c) 2006 Scott Wood . +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors or contributors be held liable for any damages +// arising from the use of this software. +// +// Permission is hereby granted to everyone, free of charge, to use, copy, +// modify, prepare derivative works of, publish, distribute, perform, +// sublicense, and/or sell copies of the Software, provided that the above +// copyright notice and disclaimer of warranty be included in all copies or +// substantial portions of this software. #include #include @@ -262,7 +271,7 @@ StrList::StrList(const String *input, char delimeter) const char *cur = input->c_str(); do { - char *next = strchr(cur, delimeter); + const char *next = strchr(cur, delimeter); String *s = new String(); s->token = TOK_IDENT;