summaryrefslogtreecommitdiff
path: root/libexec/ld.so/test/libdep.c
blob: f85a3f308208af8f3de841a9db8faf843d0d4968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

void
dep(const char *s)
{
	const char *saved = s;

	printf("libdep: ");
	for(; *s; s++);
	for(s--; s>= saved; s--) {
		putchar(*s);
		putchar('*');
	}
	putchar('\n');
}