Commit Graph

8207 Commits

Author SHA1 Message Date
Chris Johns
8504f12471 2011-12-09 Chris Johns <chrisj@rtems.org>
PR 1968/filesystem
        * libfs/src/rfs/rtems-rfs-file.c: Fix to the seek bug where a seek
        to 0 after reading the end of the file did not point to the
        correct block.
        * libfs/src/rfs/rtems-rfs-rtems.h,
        libfs/src/rfs/rtems-rfs-trace.c: Fix the trace flags. Used to fix
        the bug.
2011-12-09 07:21:02 +00:00
Ralf Corsepius
cc42039e15 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectgetname.c:
	Include <rtems/rtems/object.h> (Missing prototype).
2011-12-08 14:15:06 +00:00
Ralf Corsepius
0042168c67 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* sapi/src/getversionstring.c: Include <rtems.h> (Missing prototype).
2011-12-08 14:13:55 +00:00
Ralf Corsepius
4b41d3d4d5 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Make rtems_termios_refill_transmitter
	static.
2011-12-08 14:12:27 +00:00
Ralf Corsepius
58451f1c23 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1981/cpukit
	* posix/Makefile.am: Reflect changes below.
	* posix/src/pthreadsetcputime.c, posix/src/pthreadgetcputime.c:
	Remove (Obsolete).
2011-12-08 08:57:57 +00:00
Ralf Corsepius
438a893051 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* ftpd/ftpd.c: Make split_command static.
2011-12-08 05:36:27 +00:00
Ralf Corsepius
8709c3e4b3 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c:
	Make format_ip, dhcp_init static.
	* libnetworking/nfs/bootp_subr.c:
	Make bootp_strdup_realloc static.
2011-12-08 05:35:14 +00:00
Ralf Corsepius
5605990592 2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c:
	Make format_ip, dhcp_init static.
	* libnetworking/nfs/bootp_subr.c:
	Make bootp_strdup_realloc static.
2011-12-08 05:09:04 +00:00
Ralf Corsepius
b9f9165812 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectapiminimumclass.c:
	Include <rtems/rtems/object.h> (Missing prototype).
	Adjust rtems_object_api_minimum_class to prototype.
2011-12-07 18:46:05 +00:00
Ralf Corsepius
a16bc1c884 Fix typo. 2011-12-07 17:23:04 +00:00
Ralf Corsepius
c4e1e32eda 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/sup_fs_is_separator.c:
	Include <rtems/libio_.h> (Missing protypes).
2011-12-07 17:21:35 +00:00
Ralf Corsepius
adfc907570 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/workspace.c:
 	Include <rtems/rtems/support.h> (Missing prototypes).
2011-12-07 07:11:31 +00:00
Ralf Corsepius
a1399ba8cd 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1983/networking
	* libnetworking/libc/gethostbyht.c (gethostent_r):
	Abort if (!hostf).
2011-12-07 06:49:32 +00:00
Ralf Corsepius
5876a99902 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/ns_parse.c (ns_parserr):
	Comment out if ( section < 0 ) (type is unsigned).
2011-12-07 06:46:19 +00:00
Ralf Corsepius
ce373088e9 2011-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/libc/gethostbydns.c: Comment out __dns_getanswer
	(Unused).
2011-12-07 05:19:07 +00:00
Ralf Corsepius
e31173c13a 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/ratemonperiod.c: Make _Rate_monotonic_Update_statistics
	static.
2011-12-06 15:45:06 +00:00
Ralf Corsepius
39bcf257b9 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/pipe.c: Include <unistd.h>.
	Include <rtems/pipe.h>.
2011-12-06 15:42:00 +00:00
Ralf Corsepius
13a69b9b23 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/stackchk/check.c: Make Stack_check_Initialize,
	Stack_check_Dump_threads_usage static.
2011-12-06 15:22:13 +00:00
Ralf Corsepius
47528a8f2e 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
2011-12-06 15:20:50 +00:00
Sebastian Huber
a89ae540c1 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* score/src/heapiterate.c, score/src/pheapiterate.c: New files.
	* score/Makefile.am: Reflect changes above.
	* score/include/rtems/score/heap.h: Declare _Heap_Iterate() and define
	Heap_Block_visitor.
	* score/include/rtems/score/protectedheap.h: Declare
	_Protected_heap_Iterate().
	* score/src/heapgetinfo.c: Use _Heap_Iterate().
2011-12-06 14:23:26 +00:00
Sebastian Huber
7e0ef0f7b3 2011-12-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/powerpc/registers.h: More register defines.
2011-12-06 14:06:39 +00:00
Ralf Corsepius
ee89b319e4 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
	libcsupport/src/funlockfile.c:
	Add __attribute__((unused)) to unused function parameters.
2011-12-06 13:39:12 +00:00
Ralf Corsepius
3e0a98a756 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/envlock.c: Build conditionally.
2011-12-06 13:35:12 +00:00
Ralf Corsepius
b317c39155 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for envlock.h.
	Check for decls of __env_lock, __env_unlock.
2011-12-06 08:15:32 +00:00
Ralf Corsepius
16ef51ee2b 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/envlock.c: Rename define ENVLOCK_DEDIDCATED_MUTEX
	into ENVLOCK_DEDICATED_MUTEX (Typo).
2011-12-06 08:05:34 +00:00
Ralf Corsepius
01d79edf78 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/serdbg/serdbg.h: Add serdbg_init_dbg.
	* libmisc/serdbg/serdbgcnf.h:
	Remove conditional serdbg_init_dbg prototype.
2011-12-06 08:02:31 +00:00
Ralf Corsepius
3ab21dce11 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/mouse/serial_mouse.c: Make serial_mouse_l_rint static.
2011-12-06 08:00:24 +00:00
Ralf Corsepius
96d3f26e1d 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/malloc_sbrk_helpers.c: Make
	malloc_sbrk_initialize, malloc_sbrk_extend_and_allocate static.
2011-12-06 07:57:10 +00:00
Ralf Corsepius
6425dc5033 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-network.c: Include <rtems/monitor.h>.
	* libmisc/monitor/mon-object.c:
	Make rtems_monitor_object_canonical_next_remote,
	rtems_monitor_object_dump_1, rtems_monitor_object_dump_all static.
	* libmisc/monitor/mon-prmisc.c:
	Make rtems_monitor_dump_assoc_bitfield static.
	* libmisc/monitor/mon-symbols.c:
	Make rtems_monitor_symbol_dump_all static.
2011-12-06 07:34:48 +00:00
Ralf Corsepius
04bf7cbf60 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/schedulercbsattachthread.c,
	score/src/schedulercbsdestroyserver.c,
	score/src/schedulercbsdetachthread.c,
	score/src/schedulercbsgetapprovedbudget.c,
	score/src/schedulercbsgetexecutiontime.c,
	score/src/schedulercbsgetparameters.c,
	score/src/schedulercbsgetremainingbudget.c,
	score/src/schedulercbssetparameters.c:
	Remove checks for server_id < 0 (server_id is unsigned).
2011-12-06 07:12:42 +00:00
Ralf Corsepius
e2bcb3217b 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pspinlocktranslatereturncode.c:
	Include <rtems/posix/spinlock.h> (Missing prototypes).
2011-12-06 07:08:45 +00:00
Ralf Corsepius
46ae58a595 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
	IMFS_dump_directory static.
	* libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
2011-12-06 07:05:54 +00:00
Ralf Corsepius
145c934384 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h:
	Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
	conversions).
2011-12-06 06:39:03 +00:00
Ralf Corsepius
e8f0541c34 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/capture/capture.c:
	Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit
	sign-conversions).
	Make rtems_capture_trigger static (Missing prototypes).
	Make rtems_capture_trigger static (Missing prototypes).
	* libmisc/capture/capture.h:
	Make RTEMS_CAPTURE_WATCH, RTEMS_CAPTURE_TRACED unsigned (Avoid
	implicit sign conversions).
2011-12-05 17:31:19 +00:00
Ralf Corsepius
540eec6e57 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/rtemsobjectapimaximumclass.c:
	Include <rtems/rtems/object.h> (Missing prototypes).
	* sapi/src/exshutdown.c:
	Include <rtems/init.h> (Missing prototypes).
2011-12-05 17:01:30 +00:00
Ralf Corsepius
060092c0ef 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/mouse/mouse_parser.c: Make MOU_Data static.
2011-12-05 16:53:55 +00:00
Ralf Corsepius
df4669fb1e 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/chown.c, libcsupport/src/lchown.c:
	Include <unistd.h>. Cleanup included headers.
2011-12-05 14:20:38 +00:00
Ralf Corsepius
b929b39e01 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/pthread.h:
	Add _POSIX_Threads_Initialize_user_threads_body.
	* rtems/include/rtems/rtems/tasks.h:
	Add _RTEMS_tasks_Initialize_user_tasks_body.
	* sapi/include/confdefs.h: Remove conditional, nested redeclaration of
	_POSIX_Threads_Initialize_user_threads_body,
	_RTEMS_tasks_Initialize_user_tasks_body.
2011-12-05 13:51:06 +00:00
Ralf Corsepius
32f5014b51 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/shell.h: Add rtems_shell_main_monitor.
	* libmisc/shell/cmds.c: Make rtems_shell_main_monitor non-static.
2011-12-05 09:46:57 +00:00
Ralf Corsepius
a19ccd766d 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/tasks.c: Fix typos.
2011-12-05 08:54:35 +00:00
Ralf Corsepius
8348518949 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/taskinitusers.c: Fix typos.
2011-12-05 08:53:18 +00:00
Ralf Corsepius
76f1677937 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthread.c: Fix typos.
2011-12-05 08:52:07 +00:00
Ralf Corsepius
e42e069eeb 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthreadinitthreads.c: Fix typos.
2011-12-05 08:50:56 +00:00
Ralf Corsepius
166b02dfe6 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/include/rtems/rtems/tasks.h: Typo fixes.
2011-12-05 08:49:06 +00:00
Ralf Corsepius
98c1e0d288 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthreadatfork.c:
	Include <pthread.h> (Missing prototypes).
2011-12-05 05:17:45 +00:00
Ralf Corsepius
e511f6d0cf 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueuetranslatereturncode.c:
	Include <rtems/posix/mqueue.h> (Missing prototypes).
	* posix/src/mutextranslatereturncode.c:
	Include <rtems/posix/mutex.h> (Missing prototypes).
	* posix/src/semaphoretranslatereturncode.c:
	Include <rtems/posix/semaphore.h> (Missing prototypes).
2011-12-05 05:15:38 +00:00
Ralf Corsepius
7729910d1b 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueuenotify.c: Make _POSIX_Message_queue_Notify_handler
	static.
2011-12-05 05:11:21 +00:00
Ralf Corsepius
33385b1491 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/fork.c: Include <unistd.h> for "fork" prototype.
	Don't include <sys/types.h> (unnecessary).
2011-12-05 05:09:50 +00:00
Ralf Corsepius
7f0c1fd534 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Remove unnecessary cast.
2011-12-05 05:06:50 +00:00
Ralf Corsepius
3237e88fa7 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_mv.c: Add prototype for main_mv.
2011-12-05 05:04:49 +00:00