Module Name: src Committed By: christos Date: Wed Jan 26 18:08:00 UTC 2011
Modified Files: src/include/ssp: ssp.h Log Message: provide a way to override the weak name. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/include/ssp/ssp.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/ssp/ssp.h diff -u src/include/ssp/ssp.h:1.7 src/include/ssp/ssp.h:1.8 --- src/include/ssp/ssp.h:1.7 Tue Jan 25 14:13:44 2011 +++ src/include/ssp/ssp.h Wed Jan 26 13:08:00 2011 @@ -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__))