Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
f8b1ed41
Commit
f8b1ed41
authored
Sep 10, 2002
by
Per Cederqvist
Browse files
(link_ansi): New function.
(neveruse): Removed.
parent
16a37ce4
Changes
1
Show whitespace changes
Inline
Side-by-side
src/libraries/libansi/empty.c
View file @
f8b1ed41
/*
/*
* $Id: empty.c,v 1.1
0
2002/0
3/29 22:38
:1
0
ceder Exp $
* $Id: empty.c,v 1.1
1
2002/0
9/10 08:49
:1
4
ceder Exp $
* Copyright (C) 1993, 1998-1999, 2001-2002 Lysator Academic Computer Association.
* Copyright (C) 1993, 1998-1999, 2001-2002 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -27,4 +27,20 @@
...
@@ -27,4 +27,20 @@
# include <config.h>
# include <config.h>
#endif
#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
)
{
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment