diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-04-05 00:50:19 +0000 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-04-05 00:50:19 +0000 |
commit | 8b09538c941942c5cfe278144ffdaa2c900f11f2 (patch) | |
tree | cb0953ba6e5c8fc91e8bae5132d468b9bcfab0d5 | |
parent | 3649c742cb376fe9c61df4ac24445df181a25fb8 (diff) | |
download | newlib-8b09538c941942c5cfe278144ffdaa2c900f11f2.zip newlib-8b09538c941942c5cfe278144ffdaa2c900f11f2.tar.gz newlib-8b09538c941942c5cfe278144ffdaa2c900f11f2.tar.bz2 |
* include/cygwin/types.h: Move multiple inclusion guards to
beginning and end of header.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/types.h | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c5bdedd..6ee9838 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2011-04-04 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> + + * include/cygwin/types.h: Move multiple inclusion guards to + beginning and end of header. + 2011-04-04 Christopher Faylor <me.cygwin2011@cgf.cx> * Makefile.in: Move Makefile.common include earlier to fix problems with diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index efc076a..c049fa3 100644 --- a/winsup/cygwin/include/cygwin/types.h +++ b/winsup/cygwin/include/cygwin/types.h @@ -9,14 +9,14 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ +#ifndef _CYGWIN_TYPES_H +#define _CYGWIN_TYPES_H + #ifdef __cplusplus extern "C" { #endif -#ifndef _CYGWIN_TYPES_H -#define _CYGWIN_TYPES_H - #include <sys/sysmacros.h> #include <stdint.h> #include <endian.h> @@ -218,8 +218,9 @@ typedef class pthread_rwlockattr *pthread_rwlockattr_t; /* semaphores types */ typedef class semaphore *sem_t; #endif /* __INSIDE_CYGWIN__ */ -#endif /* _CYGWIN_TYPES_H */ #ifdef __cplusplus } #endif + +#endif /* _CYGWIN_TYPES_H */ |