X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tools%2Flib%2Fcarlfw.h;h=6e722c944cf7e4266b6902a7c9d729d6dfd101d7;hb=3d744935c5ad5735c5a5ea0486e0c6389aa2c94f;hp=85b76b00539a96b1e451da6c617c1515506d68e3;hpb=e72388a0aa23da8bc8e24a0cbe9d523c5a9ce294;p=carl9170fw.git diff --git a/tools/lib/carlfw.h b/tools/lib/carlfw.h index 85b76b0..6e722c9 100644 --- a/tools/lib/carlfw.h +++ b/tools/lib/carlfw.h @@ -1,3 +1,20 @@ +/* + * Copyright 2010-2011 Christian Lamparter + * + * 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 version 2 of the License. + * + * 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, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + #ifndef __CARLFW_H #define __CARLFW_H @@ -25,7 +42,7 @@ int carlfw_desc_add(struct carlfw *fw, void *carlfw_desc_mod_len(struct carlfw *fw, struct carl9170fw_desc_head *desc, - int len); + size_t len); int carlfw_desc_add_before(struct carlfw *fw, const struct carl9170fw_desc_head *desc,