summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/weak/libweak/weak.c
blob: b641553488aeb39b7ce5411e95e4163ff4831fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$OpenBSD: weak.c,v 1.3 2012/12/05 23:20:08 deraadt Exp $	*/

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

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

int
weak_func()
{
	return (WEAK_REF);
}

__weak_alias(func,weak_func);