Commit Graph
5440 Commits
Author SHA1 Message Date
Ralf Corsepius 182aecb9c6 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/avr.h: Add avr25, avr31, avr35, avr51 to
	CPU_NAME cascade.
	* rtems/score/cpu.h: Add missing prototypes.h.
2008-08-21 04:14:53 +00:00
Ralf Corsepius 5b31128b99 Add avr25, avr31, avr35, avr51 to CPU_NAME cascade. 2008-08-21 04:14:20 +00:00
Ralf Corsepius bdf9e8de99 Add missing prototypes. 2008-08-21 04:12:26 +00:00
Ralf Corsepius b7b6100115 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/types.h: Include stdbool.h.
	Use bool as base-type for boolean.
2008-08-21 04:10:51 +00:00
Ralf Corsepius 30e2df697a Include stdbool.h. Use bool as base-type for boolean. 2008-08-21 04:10:35 +00:00
Joel Sherrill aa4a3f1ac4 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmisc/dummy/dummy.c: Add missing initializers.
	* score/src/threadinitialize.c: Change type of loop counter.
2008-08-20 22:24:09 +00:00
Joel Sherrill ccec63e98d 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/error.c, libmisc/dummy/dummy.c,
	rtems/src/rtemsobjectgetapiclassname.c,
	rtems/src/rtemsobjectgetapiname.c: Add 0 for missing initializers.
2008-08-20 19:31:24 +00:00
Joel Sherrill 85bca3f228 2008-08-20 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems/status-checks.h: Fixed integer conversion warning.
2008-08-20 17:29:37 +00:00
Ralf Corsepius 19b9991ece 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Abort if stdbool.h is not c99 compliant.
2008-08-20 15:10:42 +00:00
Ralf Corsepius 3e63ac1b63 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* pppd/pppd.h: Use stdbool.h. Remove local bool.
2008-08-20 15:00:25 +00:00
Ralf Corsepius a807b75e38 Use stdbool.h. Remove local bool. 2008-08-20 14:59:51 +00:00
Joel Sherrill b9f2bb8a41 2008-08-20 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Correct prototype of _CPU_Thread_dispatch_pointer.
2008-08-20 13:36:29 +00:00
Ralf Corsepius d4edf2dd49 2008-08-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_HEADER_STDBOOL.
2008-08-20 07:46:50 +00:00
Ralf Corsepius 17ed18c058 Add AC_HEADER_STDBOOL. 2008-08-20 07:46:26 +00:00
Ralf Corsepius 291557bba2 2008-08-2008 Ralf Corsépius <ralf.corsepius@rtems.org>
* libblock/src/nvdisk.c: Remove bool, true, false (unused, clashes
	with C99/POSIX).
2008-08-20 07:16:02 +00:00
Joel Sherrill 0e4e56ba2a 2008-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 500/misc
	* libcsupport/src/termios.c: Avoid potential buffer overflow.
2008-08-19 20:20:34 +00:00
Joel Sherrill af063f6c01 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c: Fix prototypes.
	* rtems/score/cpu.h: Use memcpy() initialize FP structure and avoid
	many casts and potential warnings.
2008-08-19 19:10:46 +00:00
Joel Sherrill 930775ddb7 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/kern/kern_sysctl.c, libnetworking/libc/res_debug.c: Fix
	warnings.
2008-08-19 18:47:54 +00:00
Joel Sherrill 1a7c300001 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Fix type when initializing FP context.
2008-08-19 18:46:20 +00:00
Joel Sherrill 14d1db6cdb 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libfs/src/nfsclient/src/nfs.c, libfs/src/nfsclient/src/rpcio.c:
	Remove some warnings. Using ASSERT/assert macros confuses gcc who is
	unsure actions take place. More importantly if you ever compiled with
	NDEBUG set wrong, intended actions would not occur. Likely I did not
	catch all of these.
2008-08-19 18:18:54 +00:00
Joel Sherrill f4e7c5190c 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* httpd/uemf.h: Add empty braces to macro.
2008-08-19 15:08:05 +00:00
Joel Sherrill 753c05ab02 2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
PR 1296/cpukit.
	* posix/src/timersettime.c: POSIX timers use incorrect repeat interval.
	This patch fixes the following problems in timer_settime: 1) Uses
	value.it_interval for repeat period. 2) Corrects test for incorrect
	value of it_value.tv_nsec (should reject 1000000000).
2008-08-19 14:45:15 +00:00
Joel Sherrill 60a3fa0c2e 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Add extern for bfffo table and rename it to
	indicate that it is specific to this architecture.
2008-08-19 14:19:12 +00:00
Joel Sherrill 55cf0bf2a5 2008-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/inline/rtems/score/threadmp.inl: Add include of
	rtems/score/mpci.h and remove extern.
2008-08-19 13:18:40 +00:00
Joel Sherrill 639e1319ec 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/clockdrv.h: Add Clock_Exit prototype.
2008-08-19 12:42:10 +00:00
Ralf Corsepius 396e2af102 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/inline/rtems/rtems/asr.inl,
	rtems/inline/rtems/rtems/attr.inl,
	rtems/inline/rtems/rtems/barrier.inl,
	rtems/inline/rtems/rtems/dpmem.inl,
	rtems/inline/rtems/rtems/event.inl,
	rtems/inline/rtems/rtems/eventset.inl,
	rtems/inline/rtems/rtems/message.inl,
	rtems/inline/rtems/rtems/modes.inl,
	rtems/inline/rtems/rtems/options.inl,
	rtems/inline/rtems/rtems/part.inl,
	rtems/inline/rtems/rtems/ratemon.inl,
	rtems/inline/rtems/rtems/region.inl,
	rtems/inline/rtems/rtems/sem.inl,
	rtems/inline/rtems/rtems/status.inl,
	rtems/inline/rtems/rtems/support.inl,
	rtems/inline/rtems/rtems/tasks.inl,
	rtems/inline/rtems/rtems/timer.inl,
	Add header guard to force indirect inclusion.
2008-08-19 12:09:54 +00:00
Ralf Corsepius 4d24fccb93 Add header guard to force indirect inclusion. 2008-08-19 12:09:40 +00:00
Ralf Corsepius 07f20cb14b 2008-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h: Add missing prototype.
2008-08-19 12:07:39 +00:00
Ralf Corsepius 6932bceeeb Add missing prototype. 2008-08-19 12:07:28 +00:00
Ralf Corsepius 8db1df2079 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/address.inl,
	score/inline/rtems/score/chain.inl,
	score/inline/rtems/score/corebarrier.inl,
	score/inline/rtems/score/coremsg.inl,
	score/inline/rtems/score/coremutex.inl,
	score/inline/rtems/score/corerwlock.inl,
	score/inline/rtems/score/coresem.inl,
	score/inline/rtems/score/corespinlock.inl,
	score/inline/rtems/score/heap.inl,
	score/inline/rtems/score/isr.inl,
	score/inline/rtems/score/mppkt.inl,
	score/inline/rtems/score/object.inl,
	score/inline/rtems/score/objectmp.inl,
	score/inline/rtems/score/priority.inl,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/states.inl,
	score/inline/rtems/score/sysstate.inl,
	score/inline/rtems/score/thread.inl,
	score/inline/rtems/score/threadmp.inl,
	score/inline/rtems/score/threadq.inl,
	score/inline/rtems/score/tod.inl,
	score/inline/rtems/score/tqdata.inl,
	score/inline/rtems/score/watchdog.inl,
	score/inline/rtems/score/wkspace.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:33:14 +00:00
Ralf Corsepius ef49476f5a Add header guard to force indirect inclusion. 2008-08-19 08:32:59 +00:00
Ralf Corsepius c1982c42d9 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* posix/inline/rtems/posix/barrier.inl,
	posix/inline/rtems/posix/cond.inl,
	posix/inline/rtems/posix/key.inl,
	posix/inline/rtems/posix/mqueue.inl,
	posix/inline/rtems/posix/mutex.inl,
	posix/inline/rtems/posix/priority.inl,
	posix/inline/rtems/posix/pthread.inl,
	posix/inline/rtems/posix/rwlock.inl,
	posix/inline/rtems/posix/semaphore.inl,
	posix/inline/rtems/posix/spinlock.inl,
	posix/inline/rtems/posix/timer.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:31:29 +00:00
Ralf Corsepius 76a95864ba 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* itron/inline/rtems/itron/eventflags.inl,
	itron/inline/rtems/itron/fmempool.inl,
	itron/inline/rtems/itron/intr.inl,
	itron/inline/rtems/itron/mbox.inl,
	itron/inline/rtems/itron/msgbuffer.inl,
	itron/inline/rtems/itron/network.inl,
	itron/inline/rtems/itron/port.inl,
	itron/inline/rtems/itron/semaphore.inl,
	itron/inline/rtems/itron/sysmgmt.inl,
	itron/inline/rtems/itron/task.inl,
	itron/inline/rtems/itron/time.inl,
	itron/inline/rtems/itron/vmempool.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:29:51 +00:00
Ralf Corsepius 5a35f88931 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* sapi/inline/rtems/chain.inl:
	Add header guard to force indirect inclusion.
2008-08-19 08:27:19 +00:00
Ralf Corsepius 51a27fd518 Use _RTEMS_RTEMS_OBJECT_H as header guard. 2008-08-19 08:08:44 +00:00
Ralf Corsepius 681cf78af8 2008-08-19 Ralf Corsepius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/object.h: Use _RTEMS_RTEMS_OBJECT_H as
	header guard.
2008-08-19 08:08:28 +00:00
Ralf Corsepius ebc6a326c9 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_arm.h, score/cpu/arm/cpu.c
	score/cpu/h8300/rtems/score/cpu.h: Add missing prototypes.
2008-08-19 06:34:56 +00:00
Ralf Corsepius d82bd27951 Add missing prototypes. 2008-08-19 06:34:44 +00:00
Joel Sherrill 226b162699 2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>
* cpu.c, rtems/score/cpu.h: Add void.
2008-08-18 22:18:07 +00:00
Joel Sherrill 02aaec7647 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
	libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
	libnetworking/rtems/rtems_glue.c,
	libnetworking/rtems/rtems_malloc_mbuf.c,
	libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
	Fix some warnings.
2008-08-18 21:42:41 +00:00
Joel Sherrill 1487880d2c 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/scandir.c,
	libmisc/cpuuse/cpuusagereset.c, libmisc/monitor/mon-monitor.c,
	libmisc/serdbg/serdbg.c, libmisc/serdbg/serdbg.h,
	libnetworking/netinet/in_cksum_powerpc.h, shttpd/compat_rtems.h: Fix
	warnings.
2008-08-18 21:16:42 +00:00
Joel Sherrill f73fc29d66 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/rtems/itron/task.h, itron/src/def_cyc.c,
	itron/src/task.c, libcsupport/src/newlibc_exit.c,
	libcsupport/src/sync.c, libfs/src/imfs/imfs_fchmod.c,
	posix/include/rtems/posix/pthread.h, posix/src/pthread.c,
	posix/src/sysconf.c, rtems/include/rtems/rtems/tasks.h,
	rtems/src/tasks.c, score/include/rtems/score/stack.h,
	score/inline/rtems/score/stack.inl,
	score/inline/rtems/score/thread.inl, score/src/threadhandler.c: Fix
	various nested-externs warnings.
2008-08-18 19:18:52 +00:00
Joel Sherrill e49bb54227 2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/src/newlibc.c: Split libc_init()
	into a separate file to avoid linkage dependencies on newlibc.c which
	in turn pulls in fclose() and other C library methods.
	* libcsupport/src/newlibc_init.c: New file.
2008-08-18 15:43:45 +00:00
Ralf Corsepius a6998d7994 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wnested-externs.
2008-08-18 15:13:59 +00:00
Ralf Corsepius bd4a776c8d 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/net/ppp_tty.c: Remove bogus local decl of
	termios_baud_to_number(int).
2008-08-18 10:41:13 +00:00
Ralf Corsepius 9d0ef888b1 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum_i386.h: Add missing prototype.
2008-08-18 10:39:57 +00:00
Ralf Corsepius d95b9e7ea2 Add missing prototype. 2008-08-18 10:39:38 +00:00
Ralf Corsepius 142025c80c Add missing prototypes. 2008-08-18 07:22:23 +00:00
Ralf Corsepius 5d2fce513b 2008-08-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libnetworking/netinet/in_cksum.c: Add missing prototypes.
	* librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/svc_tcp.c:
	Add missing prototypes.
2008-08-18 07:15:58 +00:00
Ralf Corsepius 93c6350aa1 2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/score/cpu.h, rtems/score/i386.h: Add missing prototypes.
2008-08-16 05:46:35 +00:00