From: Chung-Lin Tang Date: Wed, 22 Jul 2015 11:39:30 +0000 (+0000) Subject: linux-atomic.c (): Remove #include. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20ca17e480a904417bb96862752878192ebfa9db;p=gcc.git linux-atomic.c (): Remove #include. 2015-07-22 Chung-Lin Tang libgcc/ * config/nios2/linux-atomic.c (): Remove #include. (EFAULT,EBUSY,ENOSYS): Delete unused #defines. From-SVN: r226063 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 4bd9f1fd9d5..810c6af88da 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-22 Chung-Lin Tang + + * config/nios2/linux-atomic.c (): Remove #include. + (EFAULT,EBUSY,ENOSYS): Delete unused #defines. + 2015-07-17 Nathan Sidwell * offloadstuff.c: Constify host data. diff --git a/libgcc/config/nios2/linux-atomic.c b/libgcc/config/nios2/linux-atomic.c index 2e07baefb47..a4829d6afec 100644 --- a/libgcc/config/nios2/linux-atomic.c +++ b/libgcc/config/nios2/linux-atomic.c @@ -20,11 +20,6 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -#include -#define EFAULT 14 -#define EBUSY 16 -#define ENOSYS 38 - /* We implement byte, short and int versions of each atomic operation using the kernel helper defined below. There is no support for 64-bit operations yet. */