]> eyrie.org Git - kerberos/krb5-strength.git/blob - portable/dummy.c
Add a basic portability library
[kerberos/krb5-strength.git] / portable / dummy.c
1 /*
2  * Dummy symbol to prevent an empty library.
3  *
4  * On platforms that already have all of the functions that libportable would
5  * supply, Automake builds an empty library and then calls ar with nonsensical
6  * arguments.  Ensure that libportable always contains at least one symbol.
7  *
8  * Written by Russ Allbery <rra@stanford.edu>
9  * This work is hereby placed in the public domain by its author.
10  */
11
12 /* Prototype to avoid gcc warnings. */
13 int portable_dummy(void);
14
15 int
16 portable_dummy(void)
17 {
18     return 42;
19 }