mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-01-14 02:01:39 +00:00
* include/wget/wget.h: Rename wget_robots_t -> wget_robots * fuzz/libwget_robots_parse_fuzzer.c: Likewise * libwget/robots.c: Likewise * libwget/test_linking_robots.c: Likewise * src/wget_host.h: Likewise * unit-tests/test.c: Likewise
15 lines
301 B
C
15 lines
301 B
C
// Just a test for static linking.
|
|
// We call one function from each object file in libwget_thread
|
|
// Unresolved references should come up on linking.
|
|
|
|
#include <config.h>
|
|
#include <wget.h>
|
|
|
|
int main(void)
|
|
{
|
|
wget_robots *robots;
|
|
|
|
wget_robots_parse(&robots, "/", NULL);
|
|
wget_robots_free(&robots);
|
|
}
|