Commit Graph
5440 Commits
Author SHA1 Message Date
Ralf Corsepius 1b502424df Add missing prototypes. 2008-08-16 05:46:28 +00:00
Ralf Corsepius 75da3f5599 Cosmetic indentation fixes. 2008-08-16 04:06:34 +00:00
Ralf Corsepius 18001dc877 2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/librtemsNfs.h: Add missing prototype.
2008-08-16 04:05:29 +00:00
Ralf Corsepius 252da9cccd Add missing prototype. 2008-08-16 04:04:42 +00:00
Ralf Corsepius 0063a93aca 2008-08-16 Ralf Corsepius <ralf.corsepius@rtems.org>
* aclocal/prog-cc.m4: Add -Wimplicit-function-declaration
	-Wstrict-prototypes to RTEMS_CFLAGS.
2008-08-16 04:02:41 +00:00
Joel Sherrill dc2503a383 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* ChangeLog: Add correct entry.
2008-08-15 16:41:03 +00:00
Joel Sherrill e293d889b5 2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1297/cpukit
	* posix/src/prwlockinit.c: Fix NULL attribute pointer handling.
2008-08-15 16:29:22 +00:00
Joel Sherrill 4daebbd022 2008-08-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/ratemon.h,
	rtems/include/rtems/rtems/status.h,
	score/include/rtems/score/coremutex.h,
	score/include/rtems/score/object.h: Removed extraneous commas.
2008-08-14 15:25:14 +00:00
Joel Sherrill b281e425ab 2008-08-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: Removed obsolete defines MSR_, MSR_KERNEL
	and MSR_USER.  Added missing prototypes.
2008-08-14 15:24:51 +00:00
Joel Sherrill 80863b1129 Formatting. 2008-08-13 14:46:23 +00:00
Joel Sherrill fdafb96cc1 2008-08-08 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/include/rtems/rtems/msgmp.h: Fix MP code missed by Sebastian.
2008-08-08 14:23:52 +00:00
Joel Sherrill 89423b90d1 Fix joel mistake. 2008-08-08 14:19:45 +00:00
Joel Sherrill 3b14b7adab 2008-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
	score/include/rtems/score/thread.h, score/src/threadreset.c,
	score/src/threadrestart.c, score/src/threadstart.c: New type
	Thread_Entry_numeric_type for numeric arguments in thread entry
	functions with at least one numeric argument.
2008-08-08 13:50:28 +00:00
Joel Sherrill 22ce088191 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/sysstate.h,
	score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make
	_System_state_Is_multiprocessing unused when multiprocessing is not
	enabled. Saves one more variable from single processor configuration.
2008-08-07 18:23:48 +00:00
Joel Sherrill a96504330e Format. 2008-08-07 18:21:44 +00:00
Chris Johns 8192e4ff61 2008-08-07 Chris Johns <chrisj@rtems.org>
* libcsupport/src/_rename_r.c: Fixed return code bug. Add a check
	to see if the 'to' path was a directory and removed the directory.

	* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added the mv command.

	* libmisc/shell/main_mv.c, libmisc/shell/pathnames-mv.h: New.
2008-08-07 02:23:11 +00:00
Chris Johns 6f162ed27a 2008-08-06 Chris Johns <chrisj@rtems.org>
* libblock/src/bdbuf.c: PR1272. Fixed similar possible issues in
	the new bdbuf code.
2008-08-06 04:38:53 +00:00
Chris Johns b7898e271c 2008-08-06 Brett Swimley <brett.swimley@aedbozeman.com>
* libblock/src/diskdevs.c: PR1192. Update the disktap pointer
	after the realloc.
2008-08-06 04:17:46 +00:00
Chris Johns 904ced08bb 2008-08-06 Till Straumann <strauman@slac.stanford.edu>
* libblock/src/diskdevs.c: PR1269. Delete the semaphore rather
	than release it.
2008-08-06 04:04:59 +00:00
Joel Sherrill 8b08935eb8 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps
	* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc.c,
	libcsupport/src/no_libc.c, libcsupport/src/unixlibc.c: Eliminate
	vestiges of ticks_per_timeslice controlling newlib reentrancy. The
	parameter was ignored in libc_init().
2008-08-05 16:51:45 +00:00
Joel Sherrill 46cb968176 2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 741/networking
	* libmisc/dummy/dummy.c: Add dummy network configuration.
2008-08-05 16:33:03 +00:00
Joel Sherrill f773c0122a 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/sem.h, rtems/src/semobtain.c:
	Changed option set type to rtems_option.

	* score/src/objectgetinfo.c: Check return value of
	_Objects_API_maximum_class().

	* libmisc/monitor/mon-mpci.c, libmisc/monitor/monitor.h,
	rtems/include/rtems/rtems/message.h, rtems/src/msgmp.c,
	rtems/src/msgqallocate.c, rtems/src/msgqbroadcast.c,
	rtems/src/msgqcreate.c, rtems/src/msgqreceive.c, rtems/src/msgqsend.c,
	rtems/src/msgqurgent.c, score/include/rtems/score/coremsg.h,
	score/include/rtems/score/mpci.h, score/include/rtems/score/thread.h,
	score/inline/rtems/score/coremsg.inl, score/src/coremsg.c,
	score/src/coremsgbroadcast.c, score/src/coremsgseize.c,
	score/src/coremsgsubmit.c:
	Removed parameters of _Message_queue_Allocate().  Changed option set
	type to rtems_option.  Changed type of maximum message and packet size
	to size_t.  Changed the input buffer type for message send functions to
	"const void *".  Changed the pointer to the second return argument in
	the thread wait information to a union.  This union can contain a
	pointer to an immutable or a mutable object.  This is somewhat fragile.
	An alternative would be to add a third pointer for immutable objects,
	but this would increase the structure size.
2008-08-05 13:32:39 +00:00
Joel Sherrill 334b3c1e83 2008-08-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/new-exceptions/cpu.h: Changed define
	CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER to UINT32_MAX to avoid comparison
	between signed and unsigned.
2008-08-05 13:32:27 +00:00
Joel Sherrill c0f4682bbf 2008-08-05 Xudong Guan <xudong.guan@criticalsoftware.com>
PR 1212/cpukit
	* rtems/src/taskmode.c, score/src/threadtickletimeslice.c: Time slicing
	will not happen if the task mode is changed from a non-timeslicing
	mode to timeslicing mode if it is done by the executing thread (e.g.
	in its task body). This change includes sp44 to demonstrate the
	problem and verify the correction.
2008-08-05 13:10:16 +00:00
Joel Sherrill 6e97bf6236 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* posix/src/mqueuetimedreceive.c, posix/src/mqueuetimedsend.c: Fix
	warnings.
2008-08-04 21:31:51 +00:00
Joel Sherrill 97b2d15f03 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1294/bsps
	* rtems/score/cpu.h, rtems/score/sparc.h: Correct prototype and usage
	of sparc_disable_interrupts.
2008-08-04 20:35:18 +00:00
Joel Sherrill e9dba243cf 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/score/cpu.h: Spacing.
2008-08-04 19:51:27 +00:00
Joel Sherrill dc112f3f41 2008-08-04 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1265/cpukit
	* score/include/rtems/score/object.h,
	score/src/objectallocatebyindex.c: Rename index argument to avoid
	warning when rtems.h and string.h are included at the same time by
	user code.
2008-08-04 19:46:13 +00:00
Ralf Corsepius eb0e15a646 2008-08-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/tftpDriver.c: Add prototypes.
	* pppd/rtemsmain.c: Add prototypes.
	* zlib/crc32.c: Add prototypes.
2008-08-03 04:28:01 +00:00
Ralf Corsepius b5cc0592f7 Add prototypes. 2008-08-03 04:27:50 +00:00
Ralf Corsepius ba3f7a807a 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/telnetd.c: Add missing prototypes.
	Remove unused local declations.
2008-08-03 04:24:12 +00:00
Ralf Corsepius c0cc9859bc Add missing prototypes.
Remove unused local declations.
2008-08-02 06:34:08 +00:00
Chris Johns 2eb89adc33 2008-08-02 Chris Johns (chrisj@rtems.org>
* libblock/include/rtems/blkdev.h: Remove count and start from
	rtems_blkdev_request. Add RTEMS_BLKDEV_START_BLOCK macro.

	* libblock/src/bdbuf.c: Add read ahead blocks always consecutive
	comment. Change count to bufnum and remove start references. Sort
	the transfer list so blocks are consecutive where possible.

	* libblock/src/blkdev.c, libblock/src/nvdisk.c,
	libblock/src/ramdisk.c: Change count to bufnum and remove start
	references.
2008-08-02 06:23:45 +00:00
Ralf Corsepius 799ef3b92f 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c,
	libnetworking/libc/gethostbyht.c,
	libnetworking/libc/gethostbynis.c,
	libnetworking/libc/gethostnamadr.c,
	libnetworking/libc/getnetbydns.c,
	libnetworking/libc/getnetbynis.c,
	libnetworking/libc/getnetnamadr.c,
	libnetworking/libc/nsap_addr.c,
	libnetworking/libc/res_debug.c,
	libnetworking/libc/res_send.c: Add missing prototypes.
2008-08-02 05:37:20 +00:00
Ralf Corsepius 082d4a2879 Add missing prototypes. 2008-08-02 05:37:10 +00:00
Ralf Corsepius a39e2ee6e4 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libi2c/libi2c.c, libi2c/libi2c.h: Add missing prototypes.
2008-08-02 05:16:40 +00:00
Ralf Corsepius ee0c82f413 Add missing prototypes. 2008-08-02 05:16:26 +00:00
Ralf Corsepius f62e195419 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmd/md4.c, libmd/md5.c: Add missing prototypes.
2008-08-02 05:14:57 +00:00
Ralf Corsepius 2992ebbcf6 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-command.c, libmisc/shell/filemode.c,
	libmisc/shell/shell_script.c: Add missing prototypes.
2008-08-02 05:13:10 +00:00
Ralf Corsepius c7ea80c99a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/nfsclient/src/xdr_mbuf.c: Add prototypes.
2008-08-01 17:14:39 +00:00
Ralf Corsepius 9b7fafe827 Add prototypes. 2008-08-01 17:14:19 +00:00
Ralf Corsepius a15d47888d 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h: Cleanup.
	* librpc/include/rpc/svc.h: Cleanup.
2008-08-01 16:57:31 +00:00
Ralf Corsepius 0eeca97769 Cleanup. 2008-08-01 16:57:19 +00:00
Ralf Corsepius 848b53b54a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_stdio.c: Misc. ansifications.
	Add prototypes.
2008-08-01 16:54:35 +00:00
Ralf Corsepius 38f9509eee Misc. ansifications. Add prototypes. 2008-08-01 16:53:46 +00:00
Ralf Corsepius 1bfb6c2f6c 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/xdr/xdr_mem.c librpc/src/xdr/xdr_rec.c
	librpc/src/xdr/xdr_sizeof.c: Misc. ansifications.
	Add prototypes.
2008-08-01 16:45:44 +00:00
Ralf Corsepius cd7916266e Misc. ansifications. Add prototypes. 2008-08-01 16:44:07 +00:00
Joel Sherrill 31a4efcc56 2008-08-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems/src/msgqsend.c, rtems/src/msgqurgent.c: Fix typos.
2008-08-01 16:18:56 +00:00
Ralf Corsepius 84c5f0222a 2008-08-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/getrpcport.c: Misc. ansifications.
	* librpc/src/rpc/getrpcent.c: Remove stray local decls.
	Misc. ansifications.
2008-08-01 16:06:16 +00:00
Ralf Corsepius 123116dd99 Misc. ansifications. 2008-08-01 16:05:37 +00:00