summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/weak/libweak/weak.c
blob: daa575c3d10fa0e2863e51d46ff89bbd48512680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: weak.c,v 1.1 2002/02/10 22:51:41 fgsch Exp $	*/

/*
 * Public domain. 2002, Federico Schwindt <fgsch@openbsd.org>.
 */

#include <sys/cdefs.h>
#include "defs.h"

__weak_alias(func,weak_func);

int
weak_func()
{
	return (WEAK_REF);
}