Commit f8b1ed41 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(link_ansi): New function.

(neveruse): Removed.
parent 16a37ce4
/*
* $Id: empty.c,v 1.10 2002/03/29 22:38:10 ceder Exp $
* $Id: empty.c,v 1.11 2002/09/10 08:49:14 ceder Exp $
* Copyright (C) 1993, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -27,4 +27,20 @@
# include <config.h>
#endif
char neveruse='B';
#include "linkansi.h"
/* Some linkers warn if a library isn't used to resolve any symbol, so
we include this useless function in libansi.a and use it from
main() of all programs that may need to link with libansi.a.
A historic note: Some systems complain if a library is empty. This
file was initially created as an empty C file, just so that we
always had an object file to include in libansi.a. But then, some
system complained when a file contained nothing, so we added an
external variable. Then we found the warnings from the linker, and
added linkansi(). */
void
link_ansi(void)
{
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment