summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/weak/prog/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'regress/libexec/ld.so/weak/prog/defs.h')
-rw-r--r--regress/libexec/ld.so/weak/prog/defs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/regress/libexec/ld.so/weak/prog/defs.h b/regress/libexec/ld.so/weak/prog/defs.h
new file mode 100644
index 00000000000..1e0b2928a1c
--- /dev/null
+++ b/regress/libexec/ld.so/weak/prog/defs.h
@@ -0,0 +1,11 @@
+/* $OpenBSD: defs.h,v 1.1 2002/02/10 22:51:41 fgsch Exp $ */
+
+/*
+ * Public domain. 2002, Federico Schwindt <fgsch@openbsd.org>.
+ */
+
+#define WEAK_REF 0
+#define STRONG_REF 1
+
+int weak_func(void);
+int func(void);