summaryrefslogtreecommitdiff
path: root/libexec/ld.so/test/libbar.c
blob: 1ad13f8312778475c5680466713c2c52efdc530d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: libbar.c,v 1.2 2001/01/28 19:34:29 niklas Exp $	*/

#include <stdio.h>

extern void dltest(const char *);
extern void dep(const char *s);

const char *const libname = "libbar.so";

void bar(const char *s)
{
	dltest("called from libbar.");
	printf("libbar: %s\n", s);
	dep("!olleH!");
}