summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2011-01-26 18:08:00 +0000
committerchristos <christos@NetBSD.org>2011-01-26 18:08:00 +0000
commitd4739750a092ffe6dee70ba41b47924306a5c88a (patch)
tree63ea62cde54694c89a389f8fa8634ea362f14c00 /include
parent766c54a9140549e1d8a4f95b556901385b117b87 (diff)
provide a way to override the weak name.
Diffstat (limited to 'include')
-rw-r--r--include/ssp/ssp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ssp/ssp.h b/include/ssp/ssp.h
index 064dcda2428..5fe8aed7c66 100644
--- a/include/ssp/ssp.h
+++ b/include/ssp/ssp.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ssp.h,v 1.7 2011/01/25 19:13:44 christos Exp $ */
+/* $NetBSD: ssp.h,v 1.8 2011/01/26 18:08:00 christos Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -43,11 +43,13 @@
# endif
#endif
+#ifndef __ssp_weak_name
#ifdef _NAMESPACE_H_
#define __ssp_weak_name(fun) _sys ## fun
#else
#define __ssp_weak_name(fun) _sys_ ## fun
#endif
+#endif
#define __ssp_inline static __inline __attribute__((__always_inline__))