Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include/ssp provide a way to override the weak name.
details: https://anonhg.NetBSD.org/src/rev/f36f0f18f9e5
branches: trunk
changeset: 761403:f36f0f18f9e5
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 26 18:08:00 2011 +0000
description:
provide a way to override the weak name.
diffstat:
include/ssp/ssp.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r c8478b0b12e2 -r f36f0f18f9e5 include/ssp/ssp.h
--- a/include/ssp/ssp.h Wed Jan 26 18:07:44 2011 +0000
+++ b/include/ssp/ssp.h Wed Jan 26 18:08:00 2011 +0000
@@ -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__))
Home |
Main Index |
Thread Index |
Old Index