summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/atou.c3
-rw-r--r--lib/bb-list.c3
-rw-r--r--lib/bb-outline.c2
-rw-r--r--lib/bitmap.c2
-rw-r--r--lib/bounding-box.c3
-rw-r--r--lib/charcode.c3
-rw-r--r--lib/charspec.c3
-rw-r--r--lib/cmdline.c3
-rw-r--r--lib/concat.c3
-rw-r--r--lib/concat3.c3
-rw-r--r--lib/concat4.c3
-rw-r--r--lib/concat5.c3
-rw-r--r--lib/concatn.c3
-rw-r--r--lib/dir.c3
-rw-r--r--lib/dlsym.c5
-rw-r--r--lib/edge.c3
-rw-r--r--lib/encoding.c3
-rw-r--r--lib/extend-fname.c3
-rw-r--r--lib/file-input.c3
-rw-r--r--lib/file-output.c3
-rw-r--r--lib/filename.c3
-rw-r--r--lib/find-suffix.c3
-rw-r--r--lib/fix-num.c3
-rw-r--r--lib/float-ok.c3
-rw-r--r--lib/font.c3
-rw-r--r--lib/fontmap.c3
-rw-r--r--lib/hash.c3
-rw-r--r--lib/hexify.c3
-rw-r--r--lib/identity.c3
-rw-r--r--lib/integer-ok.c3
-rw-r--r--lib/libfile.c3
-rw-r--r--lib/line.c4
-rw-r--r--lib/list.c3
-rw-r--r--lib/logreport.c3
-rw-r--r--lib/make-prefix.c3
-rw-r--r--lib/make-suffix.c3
-rw-r--r--lib/math.c3
-rw-r--r--lib/now.c3
-rw-r--r--lib/numtoa.c3
-rw-r--r--lib/pathsrch.c4
-rw-r--r--lib/progname.c2
-rw-r--r--lib/rand.c3
-rw-r--r--lib/report.c3
-rw-r--r--lib/rm-suffix.c2
-rw-r--r--lib/safe-free.c3
-rw-r--r--lib/scaled-num.c3
-rw-r--r--lib/spline.c3
-rw-r--r--lib/statistics.c3
-rw-r--r--lib/str-lcase.c3
-rw-r--r--lib/str-list.c3
-rw-r--r--lib/str-to-bit.c3
-rw-r--r--lib/substring.c3
-rw-r--r--lib/varstring.c3
-rw-r--r--lib/vector.c3
-rw-r--r--lib/xcalloc.c3
-rw-r--r--lib/xchdir.c36
-rw-r--r--lib/xfopen.c36
-rw-r--r--lib/xfseek.c36
-rw-r--r--lib/xftell.c36
-rw-r--r--lib/xgetcwd.c38
-rw-r--r--lib/xmalloc.c36
-rw-r--r--lib/xmessage.c2
-rw-r--r--lib/xopendir.c2
-rw-r--r--lib/xrealloc.c2
-rw-r--r--lib/xrename.c2
-rw-r--r--lib/xstrdup.c2
66 files changed, 289 insertions, 104 deletions
diff --git a/lib/atou.c b/lib/atou.c
index 6475e9d..d95f852 100644
--- a/lib/atou.c
+++ b/lib/atou.c
@@ -1,3 +1,4 @@
+/*
# atou.c: like atoi, but if the number is negative, abort.
#
# Copyright (C) 1992, 1995, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/bb-list.c b/lib/bb-list.c
index 9aebba2..e14c47c 100644
--- a/lib/bb-list.c
+++ b/lib/bb-list.c
@@ -1,3 +1,4 @@
+/*
# bb-list.c: operations on bounding box lists.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/bb-outline.c b/lib/bb-outline.c
index c4ff16a..9c8a1f4 100644
--- a/lib/bb-outline.c
+++ b/lib/bb-outline.c
@@ -1,3 +1,4 @@
+/*
# bb-outline.c: find the bounding boxes enclosing outlines.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 4a8e2fb..3129fdb 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -1,3 +1,4 @@
+/*
# bitmap.c: operations on bitmaps.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"
diff --git a/lib/bounding-box.c b/lib/bounding-box.c
index 88cb2a4..13f252a 100644
--- a/lib/bounding-box.c
+++ b/lib/bounding-box.c
@@ -1,3 +1,4 @@
+/*
# bounding-box.c: definitions for bounding box operations.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/charcode.c b/lib/charcode.c
index 6dc349a..e643def 100644
--- a/lib/charcode.c
+++ b/lib/charcode.c
@@ -1,3 +1,4 @@
+/*
# charcode.c: parse character code strings into their values.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/charspec.c b/lib/charspec.c
index 864c8de..06a819c 100644
--- a/lib/charspec.c
+++ b/lib/charspec.c
@@ -1,3 +1,4 @@
+/*
# charspec.c: parse a character code or name.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 393f7d3..e57ab29 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -1,3 +1,4 @@
+/*
# cmdline.c: routines to help in parsing command lines.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/concat.c b/lib/concat.c
index 4db3a37..502741c 100644
--- a/lib/concat.c
+++ b/lib/concat.c
@@ -1,3 +1,4 @@
+/*
# concat.c: dynamic string concatenation.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/concat3.c b/lib/concat3.c
index 0e55987..c07c19f 100644
--- a/lib/concat3.c
+++ b/lib/concat3.c
@@ -1,3 +1,4 @@
+/*
# concat3.c: concatenate three strings.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/concat4.c b/lib/concat4.c
index b77adfb..7324a5f 100644
--- a/lib/concat4.c
+++ b/lib/concat4.c
@@ -1,3 +1,4 @@
+/*
# concat4.c: concatenate four strings.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/concat5.c b/lib/concat5.c
index 6b3659d..f8890d0 100644
--- a/lib/concat5.c
+++ b/lib/concat5.c
@@ -1,3 +1,4 @@
+/*
# concat5.c: concatenate five strings.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/concatn.c b/lib/concatn.c
index a4a7a36..e1003f6 100644
--- a/lib/concatn.c
+++ b/lib/concatn.c
@@ -1,3 +1,4 @@
+/*
# concatn.c: Concatenate an arbitrary number of strings.
#
# Copyright (C) 1993, 1995, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/dir.c b/lib/dir.c
index fba4512..75be90c 100644
--- a/lib/dir.c
+++ b/lib/dir.c
@@ -1,3 +1,4 @@
+/*
# dir.c: directory operations.
#
# Copyright (C) 1992, 1993, 1994, 1995, 2004, 2011
@@ -16,6 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/dlsym.c b/lib/dlsym.c
index d2c1968..e77a591 100644
--- a/lib/dlsym.c
+++ b/lib/dlsym.c
@@ -1,3 +1,4 @@
+/*
# dlsym.c: Stub interface to dynamic linker routines that SunOS uses but didn't
# whip with 4.1.
#
@@ -16,8 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+/*
# The C library routine wcstombs in SunOS 4.1 tries to dynamically
# load some routines using the dlsym interface, described in dlsym(3x).
# Unfortunately SunOS 4.1 does not include the necessary library, libdl.
@@ -26,6 +29,8 @@
# run even with the unresolved reference to dlsym. However, if you
# link statically, you will encounter this bug. One workaround
# is to include these stub routines when you link.
+*/
+
void *dlopen()
{
diff --git a/lib/edge.c b/lib/edge.c
index 4759abc..c21b67a 100644
--- a/lib/edge.c
+++ b/lib/edge.c
@@ -1,3 +1,4 @@
+/*
# edge.c: operations on edges in bitmaps.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/encoding.c b/lib/encoding.c
index 3335dc4..181347f 100644
--- a/lib/encoding.c
+++ b/lib/encoding.c
@@ -1,3 +1,4 @@
+/*
# encoding.c: read a font encoding (.enc) file.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/extend-fname.c b/lib/extend-fname.c
index d6b9f5c..b58b24f 100644
--- a/lib/extend-fname.c
+++ b/lib/extend-fname.c
@@ -1,3 +1,4 @@
+/*
# extend-fname.c: give a filename a suffix, if necessary.
#
# Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/file-input.c b/lib/file-input.c
index e554699..b8fa29b 100644
--- a/lib/file-input.c
+++ b/lib/file-input.c
@@ -1,3 +1,4 @@
+/*
# file-input.c: file reading routines for binary files in BigEndian
# order, 2's complement representation.
#
@@ -16,6 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/file-output.c b/lib/file-output.c
index e1874a8..e68263d 100644
--- a/lib/file-output.c
+++ b/lib/file-output.c
@@ -1,3 +1,4 @@
+/*
# file-output.c: file writing routines for binary files in BigEndian
# order, 2's complement representation.
#
@@ -16,6 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/filename.c b/lib/filename.c
index fbb750f..c121c02 100644
--- a/lib/filename.c
+++ b/lib/filename.c
@@ -1,3 +1,4 @@
+/*
# filename.c: routines to manipulate filenames.
#
# Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/find-suffix.c b/lib/find-suffix.c
index 23dc717..21f6146 100644
--- a/lib/find-suffix.c
+++ b/lib/find-suffix.c
@@ -1,3 +1,4 @@
+/*
# find-suffix.c: return the stuff after a dot.
#
# Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/fix-num.c b/lib/fix-num.c
index 144d266..5ad898f 100644
--- a/lib/fix-num.c
+++ b/lib/fix-num.c
@@ -1,3 +1,4 @@
+/*
# fix-num.c: conversions on ``fixnums'', which are a 32-bit
# word with 20 bits of fraction.
#
@@ -16,6 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/float-ok.c b/lib/float-ok.c
index eaffa24..bb0d221 100644
--- a/lib/float-ok.c
+++ b/lib/float-ok.c
@@ -1,3 +1,4 @@
+/*
# float-ok.c: test if a string is a valid floating-point number.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-
+*/
#include "config.h"
diff --git a/lib/font.c b/lib/font.c
index d5d88ac..eec977b 100644
--- a/lib/font.c
+++ b/lib/font.c
@@ -1,3 +1,4 @@
+/*
# font.c: define (more or less) format-independent font operations.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/fontmap.c b/lib/fontmap.c
index 5d83e74..610e6d3 100644
--- a/lib/fontmap.c
+++ b/lib/fontmap.c
@@ -1,3 +1,4 @@
+/*
# fontmap.c: read a file for additional font names.
#
# Copyright (C) 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/hash.c b/lib/hash.c
index a3138bc..302c682 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -1,3 +1,4 @@
+/*
# hash.c: hash table operations.
#
# Copyright (C) 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/hexify.c b/lib/hexify.c
index 3705d49..c088cf6 100644
--- a/lib/hexify.c
+++ b/lib/hexify.c
@@ -1,3 +1,4 @@
+/*
# hexify.c: change a binary string to ASCII hex characters.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/identity.c b/lib/identity.c
index b35c6f5..95b7518 100644
--- a/lib/identity.c
+++ b/lib/identity.c
@@ -1,3 +1,4 @@
+/*
# identity.c:
#
# Copyright (C) 1995, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include <stdio.h>
diff --git a/lib/integer-ok.c b/lib/integer-ok.c
index a7ffb81..fe9550c 100644
--- a/lib/integer-ok.c
+++ b/lib/integer-ok.c
@@ -1,3 +1,4 @@
+/*
# integer-ok.c: test if a string is a valid integer.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/libfile.c b/lib/libfile.c
index 7e123b7..d2987af 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -1,3 +1,4 @@
+/*
# libfile.c: open and read a single auxiliary data file.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/line.c b/lib/line.c
index 4121ebb..88aec97 100644
--- a/lib/line.c
+++ b/lib/line.c
@@ -1,3 +1,4 @@
+/*
# line.c: return the next line from a file, or NULL.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
+
#include "config.h"
diff --git a/lib/list.c b/lib/list.c
index 508fb35..7d4ba65 100644
--- a/lib/list.c
+++ b/lib/list.c
@@ -1,3 +1,4 @@
+/*
# list.c: simple list (represented as arrays) manipulation.
#
# Copyright (C) 1992 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/logreport.c b/lib/logreport.c
index 3dd386d..35c9b25 100644
--- a/lib/logreport.c
+++ b/lib/logreport.c
@@ -1,3 +1,4 @@
+/*
# logreport.c: showing information to the user.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/make-prefix.c b/lib/make-prefix.c
index a278e11..691131d 100644
--- a/lib/make-prefix.c
+++ b/lib/make-prefix.c
@@ -1,3 +1,4 @@
+/*
# make-prefix.c: construct a pathname prefix.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/make-suffix.c b/lib/make-suffix.c
index bc8a851..0c52b12 100644
--- a/lib/make-suffix.c
+++ b/lib/make-suffix.c
@@ -1,3 +1,4 @@
+/*
# make-suffix.c: unconditionally add a filename suffix.
#
# Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/math.c b/lib/math.c
index f6cab57..c8a1bb6 100644
--- a/lib/math.c
+++ b/lib/math.c
@@ -1,3 +1,4 @@
+/*
# math.c: define some simple array operations, and other functions.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/now.c b/lib/now.c
index cb42e16..a00869f 100644
--- a/lib/now.c
+++ b/lib/now.c
@@ -1,3 +1,4 @@
+/*
# time.c: the current date and time.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/numtoa.c b/lib/numtoa.c
index 4c049d5..c146b23 100644
--- a/lib/numtoa.c
+++ b/lib/numtoa.c
@@ -1,3 +1,4 @@
+/*
# numtoa.c: change numbers back to strings.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/pathsrch.c b/lib/pathsrch.c
index f75b9cf..f8713e7 100644
--- a/lib/pathsrch.c
+++ b/lib/pathsrch.c
@@ -1,3 +1,4 @@
+/*
# pathsrch.c: look for files based on paths, i.e., colon-separated
# lists of directories.
#
@@ -16,10 +17,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+/*
# We should allow % specifiers in the paths for the resolution, mode
# name, etc.
+*/
#include "config.h"
diff --git a/lib/progname.c b/lib/progname.c
index f8f964d..01c5c5c 100644
--- a/lib/progname.c
+++ b/lib/progname.c
@@ -1,3 +1,4 @@
+/*
# progname.c: the executable name we were invoked as; general initialization.
#
# Copyright (C) 1994, 1996, 1997, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"
diff --git a/lib/rand.c b/lib/rand.c
index 660a099..65a4702 100644
--- a/lib/rand.c
+++ b/lib/rand.c
@@ -1,3 +1,4 @@
+/*
# rand.c: a simple pseudo-random number generator.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/report.c b/lib/report.c
index 53110ec..465a051 100644
--- a/lib/report.c
+++ b/lib/report.c
@@ -1,3 +1,4 @@
+/*
# report.c: showing information to the user online.
#
# Copyright (C) 1992, 2004, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/rm-suffix.c b/lib/rm-suffix.c
index 326826c..f495f56 100644
--- a/lib/rm-suffix.c
+++ b/lib/rm-suffix.c
@@ -1,3 +1,4 @@
+/*
# rm-suffix.c: remove any suffix.
#
# Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"
diff --git a/lib/safe-free.c b/lib/safe-free.c
index 4d3a1f8..81447c3 100644
--- a/lib/safe-free.c
+++ b/lib/safe-free.c
@@ -1,3 +1,4 @@
+/*
# safe-free.c: free with error checking.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/scaled-num.c b/lib/scaled-num.c
index 2345877..12e2805 100644
--- a/lib/scaled-num.c
+++ b/lib/scaled-num.c
@@ -1,3 +1,4 @@
+/*
# scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit
# word with 16 bits of fraction.
#
@@ -16,6 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/spline.c b/lib/spline.c
index 454f409..7637bb6 100644
--- a/lib/spline.c
+++ b/lib/spline.c
@@ -1,3 +1,4 @@
+/*
# spline.c: spline and spline list (represented as arrays) manipulation.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/statistics.c b/lib/statistics.c
index 635b6ee..c9e91a8 100644
--- a/lib/statistics.c
+++ b/lib/statistics.c
@@ -1,3 +1,4 @@
+/*
# statistics.c: find various statistics.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/str-lcase.c b/lib/str-lcase.c
index 39c49bc..bde8128 100644
--- a/lib/str-lcase.c
+++ b/lib/str-lcase.c
@@ -1,3 +1,4 @@
+/*
# str-casefold.c: make a string either all uppercase or all lowercase.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/str-list.c b/lib/str-list.c
index a780d2b..52d119c 100644
--- a/lib/str-list.c
+++ b/lib/str-list.c
@@ -1,3 +1,4 @@
+/*
# str-list.c: define routines for string lists.
#
# Copyright (C) 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/str-to-bit.c b/lib/str-to-bit.c
index 169c879..1f60b22 100644
--- a/lib/str-to-bit.c
+++ b/lib/str-to-bit.c
@@ -1,3 +1,4 @@
+/*
# str-to-bit.c: typeset a text string in some font, producing a bitmap.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/substring.c b/lib/substring.c
index 8733a24..3d542d4 100644
--- a/lib/substring.c
+++ b/lib/substring.c
@@ -1,3 +1,4 @@
+/*
# substring.c: copy a chunk from a string.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/varstring.c b/lib/varstring.c
index c759abc..07062ba 100644
--- a/lib/varstring.c
+++ b/lib/varstring.c
@@ -1,3 +1,4 @@
+/*
# varstring.c: variable-length strings.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/vector.c b/lib/vector.c
index 0a30532..45ad6e3 100644
--- a/lib/vector.c
+++ b/lib/vector.c
@@ -1,3 +1,4 @@
+/*
# vector.c: vector/point operations.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/xcalloc.c b/lib/xcalloc.c
index 637d00c..335e5fe 100644
--- a/lib/xcalloc.c
+++ b/lib/xcalloc.c
@@ -1,3 +1,4 @@
+/*
# xcalloc.c: calloc with error checking.
#
# Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
+
#include "config.h"
diff --git a/lib/xchdir.c b/lib/xchdir.c
index b895ae4..0cbbbe9 100644
--- a/lib/xchdir.c
+++ b/lib/xchdir.c
@@ -1,20 +1,22 @@
-/* xchdir.c: chdir with error checking.
-
-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. */
+/*
+# xchdir.c: chdir with error checking.
+#
+# 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/>.
+#
+*/
#include "config.h"
diff --git a/lib/xfopen.c b/lib/xfopen.c
index d298cd9..9af3fe7 100644
--- a/lib/xfopen.c
+++ b/lib/xfopen.c
@@ -1,20 +1,22 @@
-/* xfopen.c: fopen and fclose with error checking.
-
-Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
-
-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 3 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 Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/*
+# xfopen.c: fopen and fclose with error checking.
+#
+# Copyright (C) 1992, 1993, 1995, 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/>.
+#
+*/
#include "config.h"
diff --git a/lib/xfseek.c b/lib/xfseek.c
index f34d6e7..21d3408 100644
--- a/lib/xfseek.c
+++ b/lib/xfseek.c
@@ -1,20 +1,22 @@
-/* xfseek.c: fseek with error checking.
-
-Copyright (C) 1992, 1995, 2011 Free Software Foundation, Inc.
-
-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 3 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 Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/*
+# xfseek.c: fseek with error checking.
+#
+# Copyright (C) 1992, 1995, 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/>.
+#
+*/
#include "config.h"
diff --git a/lib/xftell.c b/lib/xftell.c
index 7087ddd..ce88954 100644
--- a/lib/xftell.c
+++ b/lib/xftell.c
@@ -1,20 +1,22 @@
-/* xftell.c: ftell with error checking.
-
-Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
-
-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 3 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 Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/*
+# xftell.c: ftell with error checking.
+#
+# Copyright (C) 1992, 1993, 1995, 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/>.
+#
+*/
#include "config.h"
diff --git a/lib/xgetcwd.c b/lib/xgetcwd.c
index fe9d295..3a29dec 100644
--- a/lib/xgetcwd.c
+++ b/lib/xgetcwd.c
@@ -1,21 +1,23 @@
-/* xgetcwd.c: a from-scratch version of getwd. Based on the tcsh 5.20
- source, apparently uncopyrighted.
-
-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. */
+/*
+# xgetcwd.c: a from-scratch version of getwd. Based on the tcsh 5.20
+# source, apparently uncopyrighted.
+#
+# 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/>.
+#
+*/
#include "config.h"
#include "c-pathmx.h"
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index 721cc47..d593083 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -1,20 +1,22 @@
-/* xmalloc.c: malloc with error checking.
-
-Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
-
-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 3 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 Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+/*
+# xmalloc.c: malloc with error checking.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
+*/
/* Don't include config.h or all our other usual includes, since
it's useful to just throw this file into other programs. */
diff --git a/lib/xmessage.c b/lib/xmessage.c
index 31fcf67..9dd5162 100644
--- a/lib/xmessage.c
+++ b/lib/xmessage.c
@@ -1,3 +1,4 @@
+/*
# xmessage.c: pop up a message for five seconds and then go away.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#ifndef X_DISPLAY_MISSING /* whole file */
diff --git a/lib/xopendir.c b/lib/xopendir.c
index a597e12..fb50aa5 100644
--- a/lib/xopendir.c
+++ b/lib/xopendir.c
@@ -1,3 +1,4 @@
+/*
# xopendir.c: opendir and closedir with error checking.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"
diff --git a/lib/xrealloc.c b/lib/xrealloc.c
index ab190e7..f476013 100644
--- a/lib/xrealloc.c
+++ b/lib/xrealloc.c
@@ -1,3 +1,4 @@
+/*
# xrealloc.c: realloc with error checking.
#
# Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
/* Don't include config.h or all our other usual includes, since
diff --git a/lib/xrename.c b/lib/xrename.c
index e8c941a..dee0772 100644
--- a/lib/xrename.c
+++ b/lib/xrename.c
@@ -1,3 +1,4 @@
+/*
# xrename.c: conceptually rename with error checking.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index 06881c9..47a46d2 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -1,3 +1,4 @@
+/*
# xstrdup.c: strdup with error checking.
#
# Copyright (C) 1992, 2004, 2011 Free Software Foundation, Inc.
@@ -15,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+*/
#include "config.h"