summaryrefslogtreecommitdiff
path: root/lib/bb-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb-list.c')
-rw-r--r--lib/bb-list.c39
1 files changed, 20 insertions, 19 deletions
diff --git a/lib/bb-list.c b/lib/bb-list.c
index d556405..9aebba2 100644
--- a/lib/bb-list.c
+++ b/lib/bb-list.c
@@ -1,20 +1,21 @@
-/* bb-list.c: operations on bounding box lists.
+# bb-list.c: operations on bounding box lists.
+#
+# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
+#
+# 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/>.
+#
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-
-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, 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, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h"
@@ -33,7 +34,7 @@ bb_list_init ()
return bb_list;
}
-
+
/* Append BB to BB_LIST. */
void
@@ -45,7 +46,7 @@ bb_list_append (bb_list_type *bb_list, bounding_box_type bb)
BB_LIST_ELT (*bb_list, BB_LIST_LENGTH (*bb_list) - 1) = bb;
}
-
+
/* Append the elements in the list B2 onto the end of B1. */
void
@@ -65,7 +66,7 @@ bb_list_splice (bb_list_type *b1, bb_list_type b2)
for (this_bb = 0; this_bb < BB_LIST_LENGTH (b2); this_bb++)
BB_LIST_ELT (*b1, BB_LIST_LENGTH (*b1)++) = BB_LIST_ELT (b2, this_bb);
}
-
+
/* Free the memory in a list. */
void