summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-04-24 14:28:34 +0000
committerdrahn <drahn@openbsd.org>2006-04-24 14:28:34 +0000
commit78a118944d24f94adbdb5a83b6d89cb25827ff9c (patch)
tree205543f35a78a829f5f047a3b0162ef82e778e0c
parentregen (diff)
downloadwireguard-openbsd-78a118944d24f94adbdb5a83b6d89cb25827ff9c.tar.xz
wireguard-openbsd-78a118944d24f94adbdb5a83b6d89cb25827ff9c.zip
Properly terminate ENTRY with a semicolon, required for asm profiling.
ok miod, espie
-rw-r--r--lib/libc/arch/i386/SYS.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/i386/SYS.h b/lib/libc/arch/i386/SYS.h
index 5a8d608db26..a0681730dae 100644
--- a/lib/libc/arch/i386/SYS.h
+++ b/lib/libc/arch/i386/SYS.h
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: SYS.h,v 1.15 2003/06/02 20:18:30 millert Exp $
+ * $OpenBSD: SYS.h,v 1.16 2006/04/24 14:28:34 drahn Exp $
*/
#include <machine/asm.h>
@@ -47,12 +47,12 @@
#ifdef __STDC__
#define SYSENTRY(x) \
- ENTRY(_thread_sys_ ## x) \
+ ENTRY(_thread_sys_ ## x); \
.weak _C_LABEL(x); \
_C_LABEL(x) = _C_LABEL(_thread_sys_ ## x)
#else /* ! __STDC__ */
#define SYSENTRY(x) \
- ENTRY(_thread_sys_/**/x) \
+ ENTRY(_thread_sys_/**/x); \
.weak _C_LABEL(x); \
_C_LABEL(x) = _C_LABEL(_thread_sys_/**/x)
#endif /* ! __STDC__ */