Thu Jan 20 02:58:17 2011 UTC ()
Use the _sys alias instead of the _ alias as the way to access the baseline
syscall.


(christos)
diff -r1.5 -r1.6 src/include/ssp/ssp.h

cvs diff -r1.5 -r1.6 src/include/ssp/ssp.h (expand / switch to context diff)
--- src/include/ssp/ssp.h 2011/01/19 19:21:29 1.5
+++ src/include/ssp/ssp.h 2011/01/20 02:58:17 1.6
@@ -1,4 +1,4 @@
-/*	$NetBSD: ssp.h,v 1.5 2011/01/19 19:21:29 christos Exp $	*/
+/*	$NetBSD: ssp.h,v 1.6 2011/01/20 02:58:17 christos Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -43,7 +43,12 @@
 # endif
 #endif
 
-#define __ssp_weak_name(fun) _ ## fun
+#ifdef _NAMESPACE_H_
+#define __ssp_weak_name(fun) _sys ## fun
+#else
+#define __ssp_weak_name(fun) _sys_ ## fun
+#endif
+
 #define __ssp_inline static __inline __attribute__((__always_inline__))
 
 #define __ssp_bos(ptr) __builtin_object_size(ptr, __SSP_FORTIFY_LEVEL > 1)