provide a way to override the weak name.
This commit is contained in:
parent
93fcf9c9a9
commit
e6a9e964d2
@ -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__))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user