diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-10-21 10:02:03 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-10-21 10:02:03 +0000 |
commit | 50989bd691471f912d2e62469d05e5eee3c6c4b7 (patch) | |
tree | 390b0c548f72992a3a2f8e20837edd6b1982c882 /lgl/dummy.c | |
parent | 88737f5d01172764cbfd26d7a778603bcf61ccda (diff) | |
download | gnutls-50989bd691471f912d2e62469d05e5eee3c6c4b7.tar.gz |
Add lgl/ for LGPLed gnulib modules (for lib/) and use gl/ for GPL gnulib modules, for use in src/ etc.
Diffstat (limited to 'lgl/dummy.c')
-rw-r--r-- | lgl/dummy.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lgl/dummy.c b/lgl/dummy.c new file mode 100644 index 0000000000..df147e4778 --- /dev/null +++ b/lgl/dummy.c @@ -0,0 +1,30 @@ +/* A dummy file, to prevent empty libraries from breaking builds. + Copyright (C) 2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1, 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser 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. */ + +/* Some systems, reportedly OpenBSD and Mac OS X, refuse to create + libraries without any object files. You might get an error like: + + > ar cru .libs/libgl.a + > ar: no archive members specified + + Compiling this file, and adding its object file to the library, will + prevent the library from being empty. */ + +/* This declaration is solely to ensure that after preprocessing + this file is never empty. */ +typedef int dummy; |