From b3be630198093acd1f17e119c73d3342f265f7f0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 1 Jun 2003 03:37:04 +0000 Subject: [PATCH] Import of 2003-06-08 libbitset --- lib/abitset.h | 29 +++++++++++++++-------------- lib/vbitset.h | 29 +++++++++++++++-------------- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/lib/abitset.h b/lib/abitset.h index 06fd1bd4..f48fb88b 100644 --- a/lib/abitset.h +++ b/lib/abitset.h @@ -1,27 +1,28 @@ /* Functions to support abitsets. - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002 Free Software Foundation, Inc. Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). - 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 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 2 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. +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 . */ +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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _ABITSET_H -#define _ABITSET_H +#define _ABITSET_H #include "bitset.h" -extern size_t abitset_bytes (bitset_bindex); +extern size_t abitset_bytes PARAMS ((bitset_bindex)); -extern bitset abitset_init (bitset, bitset_bindex); +extern bitset abitset_init PARAMS ((bitset, bitset_bindex)); #endif diff --git a/lib/vbitset.h b/lib/vbitset.h index 53361be8..a678c3df 100644 --- a/lib/vbitset.h +++ b/lib/vbitset.h @@ -1,27 +1,28 @@ /* Functions to support vbitsets. - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002 Free Software Foundation, Inc. Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). - 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 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 2 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. +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 . */ +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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef _VBITSET_H -#define _VBITSET_H +#define _VBITSET_H #include "bitset.h" -extern size_t vbitset_bytes (bitset_bindex); +extern size_t vbitset_bytes PARAMS ((bitset_bindex)); -extern bitset vbitset_init (bitset, bitset_bindex); +extern bitset vbitset_init PARAMS ((bitset, bitset_bindex)); #endif