newlib-cygwin/newlib/libc/machine/spu
Sebastian Huber 8a5af1a184 Use __machine_*_t_defined for internal types
Newlib defines defaults for internal types via <sys/_types.h> and uses
<machine/_types.h> to let targets define their own type if necessary.

Previously for example

	#ifndef __dev_t_defined
	typedef short __dev_t;
	#endif

However, the __*_t_defined pattern conflicts with the glibc type guard
pattern for user types, e.g. dev_t in this example.  Introduce a
__machine_*_t_defined pattern for internal types (defined by
<machine/_types.h>, used by <sys/_types.h>).  For example

	#ifndef __machine_dev_t_defined
	typedef short __dev_t;
	#endif

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2016-04-15 14:51:39 +02:00
..
include 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
machine Use __machine_*_t_defined for internal types 2016-04-15 14:51:39 +02:00
sys 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com> 2013-11-21 16:44:39 +00:00
Makefile.am 2009-04-16 Ken Werner <ken.werner@de.ibm.com> 2009-04-16 18:38:23 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
assert.c 2008-03-27 Patrick Mansfield <patmans@us.ibm.com> 2008-04-01 18:53:41 +00:00
c99ppe.h 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
calloc_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
clearerr.c 2007-04-04 Patrick Mansfield <patmans@us.ibm.com> 2007-04-04 21:03:13 +00:00
configure Bump up newlib version to 2.4.0 due to feature test refactoring 2016-03-29 17:33:42 -04:00
configure.in 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
creat.c 2007-06-13 Patrick Mansfield <patmans@us.ibm.com> 2007-06-13 17:55:28 +00:00
ea_internal.h 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
fclose.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fdopen.c 2009-04-16 Ken Werner <ken.werner@de.ibm.com> 2009-04-16 18:38:23 +00:00
feof.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
ferror.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fflush.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fgetc.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fgetpos.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fgets.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fileno.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fiprintf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
fiscanf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
fopen.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fprintf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
fputc.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fputs.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fread.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
free_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
freopen.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
fscanf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
fseek.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fsetpos.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
ftell.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
fwrite.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
getc.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
getchar.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
gets.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
impure.c 2008-04-16 Patrick Mansfield <patmans@us.ibm.com> 2008-04-16 18:46:20 +00:00
iprintf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
iscanf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
malloc_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
memchr_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
memcmp.c 2008-04-01 Patrick Mansfield <patmans@us.ibm.com> 2008-04-01 19:02:16 +00:00
memcmp_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
memcpy.c 2006-11-22 Luca Barbato <lu_zero@gentoo.org> 2006-11-22 21:19:56 +00:00
memcpy_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
memmove.c 2006-11-22 Luca Barbato <lu_zero@gentoo.org> 2006-11-22 21:19:56 +00:00
memmove_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
memset.c 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jp> 2006-11-29 19:54:05 +00:00
memset_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
mk_syscalls 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
mmap_ea.c 2009-04-03 Ken Werner <ken.werner@de.ibm.com> 2009-04-03 22:42:31 +00:00
mremap_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
msync_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
munmap_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
perror.c 2007-06-20 Patrick Mansfield <patmans@us.ibm.com> 2007-06-20 21:54:47 +00:00
posix_memalign_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
pread_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
printf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
putc.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
putchar.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
puts.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
pwrite_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
read_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
readv_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
realloc_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
remove.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
rename.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
rewind.c 2007-04-04 Patrick Mansfield <patmans@us.ibm.com> 2007-04-04 21:03:13 +00:00
scanf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
setbuf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
setjmp.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
setvbuf.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
siprintf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
siscanf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
sleep.c 2007-06-13 Patrick Mansfield <patmans@us.ibm.com> 2007-06-13 17:44:24 +00:00
sniprintf.S 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
snprintf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
sprintf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
spu-gmon.c 2009-04-03 Ken Werner <ken.werner@de.ibm.com> 2009-04-03 22:29:24 +00:00
spu-mcount.S 2008-11-27 Ken Werner <ken.werner@de.ibm.com> 2008-11-27 20:57:46 +00:00
spu_clock_stop.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
spu_clock_svcs.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
spu_timebase.c 2008-09-01 Ken Werner <ken.werner@de.ibm.com> 2008-09-02 16:48:48 +00:00
spu_timer_flih.S 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
spu_timer_free.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
spu_timer_internal.h headers: properly decorate attributes 2014-08-01 15:44:51 +00:00
spu_timer_slih.c 2008-09-10 Ken Werner <ken.werner@de.ibm.com> 2008-09-11 00:33:58 +00:00
spu_timer_slih_reg.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
spu_timer_stop.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
spu_timer_svcs.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-10 02:13:22 +00:00
sscanf.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
stack_reg_va.S 2008-06-16 Ken Werner <ken.werner@de.ibm.com> 2008-06-16 18:51:10 +00:00
stdio.c 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
straddr.h 2008-02-11 Patrick Mansfield <patmans@us.ibm.com> 2008-02-11 22:19:59 +00:00
strcat.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-09 17:26:30 +00:00
strcat_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strchr.c 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp> 2006-12-01 17:18:36 +00:00
strchr_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strcmp.c 2006-10-27 Joel Schopp <jschopp@austin.ibm.com> 2006-10-27 23:02:00 +00:00
strcmp_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strcpy.c 2008-02-11 Patrick Mansfield <patmans@us.ibm.com> 2008-02-11 22:19:59 +00:00
strcpy.h 2008-09-10 Ken Werner <ken.werner@de.ibm.com> 2008-09-11 00:33:58 +00:00
strcpy_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strcspn.c 2006-10-27 Joel Schopp <jschopp@austin.ibm.com> 2006-10-27 23:02:00 +00:00
strcspn_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strlen.c 2008-02-11 Patrick Mansfield <patmans@us.ibm.com> 2008-02-11 22:14:46 +00:00
strlen_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strncat.c 2008-06-09 Ken Werner <ken.werner@de.ibm.com> 2008-06-09 17:26:30 +00:00
strncat_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strncmp.c 2008-04-01 Patrick Mansfield <patmans@us.ibm.com> 2008-04-01 19:02:16 +00:00
strncmp.h 2008-04-01 Patrick Mansfield <patmans@us.ibm.com> 2008-04-01 19:02:16 +00:00
strncmp_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strncpy.c 2008-02-11 Patrick Mansfield <patmans@us.ibm.com> 2008-02-11 22:19:59 +00:00
strncpy_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strpbrk.c 2006-10-27 Joel Schopp <jschopp@austin.ibm.com> 2006-10-27 23:02:00 +00:00
strpbrk_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strrchr.c 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp> 2006-12-01 17:18:36 +00:00
strrchr_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strspn.c 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jp> 2006-11-29 19:54:05 +00:00
strspn_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strstr_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
strxfrm.c 2007-04-09 Joel Schopp <jschopp@austin.ibm.com> 2007-04-09 16:03:26 +00:00
syscall.def 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp> 2007-08-23 18:45:22 +00:00
tmpfile.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
tmpnam.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
ungetc.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
usleep.c 2007-06-13 Patrick Mansfield <patmans@us.ibm.com> 2007-06-13 17:44:24 +00:00
vec_literal.h 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-01-19 23:53:07 +00:00
vfiprintf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
vfiscanf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
vfprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vfscanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
viprintf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
viscanf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
vprintf.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
vscanf.c 2007-05-23 Patrick Mansfield <patmans@us.ibm.com> 2007-05-23 21:41:17 +00:00
vsiprintf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
vsiscanf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
vsniprintf.c 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp> 2007-02-20 20:58:38 +00:00
vsnprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vsprintf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
vsscanf.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:28:06 +00:00
write_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00
writev_ea.c 2008-11-20 Ken Werner <ken.werner@de.ibm.com> 2008-11-20 20:20:51 +00:00