Sun Feb 23 07:43:38 2014 UTC ()
Remove misplaced #endif


(martin)
diff -r1.4 -r1.5 src/common/lib/libc/arch/m68k/atomic/atomic_op_asm.h

cvs diff -r1.4 -r1.5 src/common/lib/libc/arch/m68k/atomic/atomic_op_asm.h (expand / switch to unified diff)

--- src/common/lib/libc/arch/m68k/atomic/atomic_op_asm.h 2014/02/22 17:08:30 1.4
+++ src/common/lib/libc/arch/m68k/atomic/atomic_op_asm.h 2014/02/23 07:43:38 1.5
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: atomic_op_asm.h,v 1.4 2014/02/22 17:08:30 martin Exp $ */ 1/* $NetBSD: atomic_op_asm.h,v 1.5 2014/02/23 07:43:38 martin Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc. 4 * Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe. 8 * by Jason R. Thorpe.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -37,22 +37,21 @@ @@ -37,22 +37,21 @@
37#if defined(_KERNEL) 37#if defined(_KERNEL)
38 38
39#define ATOMIC_OP_ALIAS(a,s) STRONG_ALIAS(a,s) 39#define ATOMIC_OP_ALIAS(a,s) STRONG_ALIAS(a,s)
40#ifdef _HARDKERNEL 40#ifdef _HARDKERNEL
41#define CRT_ALIAS(a,s) STRONG_ALIAS(a,s) 41#define CRT_ALIAS(a,s) STRONG_ALIAS(a,s)
42#endif 42#endif
43 43
44#else /* _KERNEL */ 44#else /* _KERNEL */
45 45
46#define ATOMIC_OP_ALIAS(a,s) WEAK_ALIAS(a,s) 46#define ATOMIC_OP_ALIAS(a,s) WEAK_ALIAS(a,s)
47#ifdef _LIBC 47#ifdef _LIBC
48#define CRT_ALIAS(a,s) STRONG_ALIAS(a,s) 48#define CRT_ALIAS(a,s) STRONG_ALIAS(a,s)
49#endif 49#endif
50#endif 
51 50
52#endif /* _KERNEL */ 51#endif /* _KERNEL */
53 52
54#ifndef CRT_ALIAS 53#ifndef CRT_ALIAS
55#define CRT_ALIAS(a,s) 54#define CRT_ALIAS(a,s)
56#endif 55#endif
57 56
58#endif /* _ATOMIC_OP_ASM_H_ */ 57#endif /* _ATOMIC_OP_ASM_H_ */