Commit Graph

8207 Commits

Author SHA1 Message Date
Ralf Corsepius
a8ed055437 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_cp.c: Include "internal.h".
	Make rtems_shell_main_cp non-static.
2011-12-04 18:27:40 +00:00
Ralf Corsepius
4326cdeed6 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_ls.c: Include "internal.h".
2011-12-04 18:25:45 +00:00
Ralf Corsepius
c15f25e4a1 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_mv.c: Remove decl of user_from_uid,
	group_from_gid.
2011-12-04 18:24:15 +00:00
Ralf Corsepius
cb2464b256 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_rm.c: Remove decl of user_from_uid.
	Comment out decl of fflagstostr.
2011-12-04 18:22:14 +00:00
Ralf Corsepius
d7417a517f 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/pwcache.c: Include "internal.h".
	Make user_from_uid non-static.
2011-12-04 18:20:23 +00:00
Ralf Corsepius
5383441cf7 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/internal.h: Add user_from_uid, group_from_gid.
2011-12-04 18:18:52 +00:00
Ralf Corsepius
94547d1d8b 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/print-ls.c: Include "internal.h".
	* libmisc/shell/pwcache.c: Make user_from_uid static.
	* libmisc/shell/shell.c: Make rtems_shell_init_env,
	rtems_shell_env_free, rtems_shell_line_editor,
	rtems_shell_init_issue, rtems_shell_task static.
	* libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static.
	* libmisc/shell/shell_makeargs.c: Include <rtems/shell.h>.
	* libmisc/shell/write_file.c: Include <rtems/shell.h>.
2011-12-04 11:57:51 +00:00
Ralf Corsepius
3421e5201f * libmisc/shell/main_help.c: Make rtems_shell_help_cmd,
rtems_shell_help static.
	* libmisc/shell/main_hexdump.c: Make main_hexdump static.
	* libmisc/shell/main_id.c: Make rtems_shell_main_id static.
	* libmisc/shell/main_ifconfig.c: Make rtems_shell_main_ifconfig static.
	* libmisc/shell/main_ln.c: Make rtems_shell_main_ln static.
	* libmisc/shell/main_logoff.c: Make rtems_shell_main_logoff static.
	* libmisc/shell/main_ls.c: Make rtems_shell_main_ls static.
	* libmisc/shell/main_mallocinfo.c: Include <rtems/libcsupport.h>.
	Remove private decls of malloc_info,
	rtems_shell_print_unified_work_area_message.
	Make rtems_shell_main_malloc_info static.
	* libmisc/shell/main_medit.c: Remove private decl of
	rtems_shell_main_mdump.
	Make rtems_shell_main_medit static.
	* libmisc/shell/main_mfill.c: Make rtems_shell_main_mfill static.
	* libmisc/shell/main_mkdir.c: Make rtems_shell_main_mkdir static.
	* libmisc/shell/main_mknod.c: Make rtems_shell_main_mknod static.
	* libmisc/shell/main_mmove.c: Remove private decl of
	rtems_shell_main_mdump.
	Make rtems_shell_main_mmove static.
	* libmisc/shell/main_mount.c: Make rtems_shell_main_mount static.
	* libmisc/shell/main_msdosfmt.c: Make rtems_shell_main_msdos_format
	static.
	* libmisc/shell/main_mv.c: Include "internal.h".
	Make rtems_shell_mv_exit, rtems_shell_main_mv static.
	Remove private decls of strmode rtems_shell_main_cp,
	rtems_shell_main_rm.
	* libmisc/shell/main_mwdump.c: Make rtems_shell_main_mwdump static.
	* libmisc/shell/main_netstats.c: Make rtems_shell_main_netstats
	static.
	* libmisc/shell/main_perioduse.c: Make rtems_shell_main_perioduse
	static.
	* libmisc/shell/main_pwd.c: Make rtems_shell_main_pwd static.
	* libmisc/shell/main_rm.c: Include "internal.h".
	Make rtems_shell_rm_exit static.
	Remove private decl of strmode.
	* libmisc/shell/main_rmdir.c: Make rtems_shell_main_rmdir static.
	libmisc/shell/main_route.c: Make rtems_shell_main_route static.
	* libmisc/shell/main_setenv.c: Make rtems_shell_main_setenv static.
	* libmisc/shell/main_sleep.c: Make rtems_shell_main_sleep static.
	* libmisc/shell/main_stackuse.c: Make rtems_shell_main_stackuse static.
	* libmisc/shell/main_time.c: Make rtems_shell_main_time static.
	* libmisc/shell/main_tty.c: Make rtems_shell_main_tty static.
	* libmisc/shell/main_umask.c: Make rtems_shell_main_umask static.
	* libmisc/shell/main_unmount.c: Make rtems_shell_main_unmount
	static.
	* libmisc/shell/main_unsetenv.c: Make rtems_shell_main_unsetenv
	static.
	* libmisc/shell/main_whoami.c: Make rtems_shell_main_whoami static.
	* libmisc/shell/main_wkspaceinfo.c: Make
	rtems_shell_main_wkspace_info static.
2011-12-04 10:22:51 +00:00
Ralf Corsepius
f1d9293ec8 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/cmds.c:
	Make rtems_shell_main_monitor static.
	* libmisc/shell/main_alias.c:
	Make rtems_shell_rtems_main_alias static.
	* libmisc/shell/main_blksync.c:
	Make rtems_shell_main_blksync static.
	* libmisc/shell/main_cat.c:
	Make rtems_shell_main_cat static.
	* libmisc/shell/main_chdir.c:
	Make rtems_shell_main_chdir static.
	* libmisc/shell/main_chmod.c:
	Make rtems_shell_main_chmod static.
	* libmisc/shell/main_chroot.c:
	Make rtems_shell_main_chroot static.
	* libmisc/shell/main_cp.c:
	Make rtems_shell_cp_exit, rtems_shell_main_cp static.
	* libmisc/shell/main_cpuuse.c:
	Make rtems_shell_main_cpuuse static.
	* libmisc/shell/main_date.c:
	Make rtems_shell_main_date static.
	* libmisc/shell/main_dd.c:
	Make rtems_shell_main_dd static.
	* libmisc/shell/main_echo.c:
	Make rtems_shell_main_echo static.
	* libmisc/shell/main_getenv.c:
	Make rtems_shell_main_getenv static.
	* libmisc/shell/main_halt.c:
	Make rtems_shell_main_halt static.
2011-12-04 09:51:48 +00:00
Ralf Corsepius
9cfd22236c 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/internal.h: #include "shell.h".
	Add various missing decls.
2011-12-04 09:42:29 +00:00
Ralf Corsepius
26597fc19b 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/cat_file.c: #include <rtems/shell.h>.
	* libmisc/shell/filemode.c: #include "internal.h".
	* libmisc/shell/shell.h: Declare functions "extern".
2011-12-04 09:39:44 +00:00
Ralf Corsepius
3cada05bfe 2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/shell_cmdset.c: Remove superflous casts.
2011-12-04 08:53:25 +00:00
Ralf Corsepius
bbc0615e09 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/termios.c: Make FL_* defines unsigned.
2011-12-03 05:45:58 +00:00
Ralf Corsepius
a10bf3725d 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/coremsg.inl (_CORE_message_queue_Send,
	_CORE_message_queue_Urgent):
2011-12-03 05:43:19 +00:00
Ralf Corsepius
c4a9f3f079 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/aio_misc.c: Make rtems_aio_move_to_work,
	rtems_aio_insert_prio static.
2011-12-03 05:39:47 +00:00
Ralf Corsepius
2cb8f5acea 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getgid.c: Include <unistd.h>.
	* libcsupport/src/setgid.c: Include <unistd.h>.
	* libcsupport/src/getpgrp.c: Include <unistd.h>.
	Remove unnecessary includes.
2011-12-03 05:13:59 +00:00
Ralf Corsepius
29aed671e4 2011-12-03 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/pthread.c (_POSIX_Threads_Default_attributes): Add
	missing initializer.
	* posix/src/pthread.c: Make
	_POSIX_Threads_Create_extension,_POSIX_Threads_Delete_extension,
	_POSIX_Threads_Exitted_extension,
	_POSIX_Threads_Initialize_user_threads static.
2011-12-03 03:54:30 +00:00
Ralf Corsepius
7f46921e1d 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libcsupport.h:
	Add prototype of malloc_info().
2011-12-02 17:29:07 +00:00
Ralf Corsepius
326d83fb6a 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/deviceerrno.c:
	Include <rtems/devfs.h> for missing prototypes.
2011-12-02 17:27:16 +00:00
Ralf Corsepius
03f407b297 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-rtems-dev.c:
	Remove duplicate prototype of rtems_deviceio_errno.
	Include <rtems/devfs.h> for rtems_deviceio_errno().
2011-12-02 17:25:31 +00:00
Ralf Corsepius
a7d3e93bb4 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/rbtreeextract.c:
	Make _RBTree_Extract_validate_unprotected static.
	* score/src/rbtreeinsert.c:
	Make _RBTree_Validate_insert_unprotected static.
2011-12-02 16:46:49 +00:00
Joel Sherrill
d54fd8fd4d 2011-12-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/sys/termios.h: Add _POSIX_VDISABLE.
2011-12-02 16:42:42 +00:00
Ralf Corsepius
32a19d68f3 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/tasks.c: Make _RTEMS_tasks_Create_extension,
	_RTEMS_tasks_Start_extension, _RTEMS_tasks_Delete_extension,
	_RTEMS_tasks_Switch_extension, _RTEMS_tasks_Post_switch_extension
	static.
	* score/src/scheduleredf.c: Make _Scheduler_EDF_RBTree_compare_function
	static.
2011-12-02 13:47:28 +00:00
Ralf Corsepius
3eb8f28875 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission,
	IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static.
	* libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open,
	IMFS_fifo_close, IMFS_fifo_read, IMFS_fifo_write,
	IMFS_fifo_ioctl static.
2011-12-02 13:39:58 +00:00
Ralf Corsepius
e493e2a83e 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-smp.m4: Fix bogus log message.
2011-12-01 16:43:28 +00:00
Ralf Corsepius
a7fa55cae1 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
	Use size_t for sizes.
2011-12-01 08:26:49 +00:00
Ralf Corsepius
cadea7923e 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
2011-12-01 08:01:40 +00:00
Ralf Corsepius
6940c38237 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
2011-12-01 03:46:36 +00:00
Ralf Corsepius
e2e9d95b6d 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
2011-12-01 03:05:17 +00:00
Ralf Corsepius
f80b3a3d82 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/src/rpc/clnt_udp.c (struct cu_data):
	Introduce unions _cu_inbuf, _cu_outbuf to avoid aliasing.
2011-11-30 06:58:36 +00:00
Ralf Corsepius
4aa59b1adc 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c (dhcp_init):
	Remove unused var "len".
2011-11-30 05:30:49 +00:00
Ralf Corsepius
6611a434e2 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/src/objectinitializeinformation.c
	(_Objects_Initialize_information): Remove unused var "name_length".
2011-11-30 05:24:19 +00:00
Joel Sherrill
b0bd1b697c 2011-11-29 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1967/cpukit
	* score/include/rtems/score/object.h,
	score/src/objectinitializeinformation.c: Remove
	OBJECTS_NAME_ALIGNMENT and uses.
2011-11-29 21:55:18 +00:00
Joel Sherrill
ece175945c 2011-11-28 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1941/cpukit
	* libmisc/monitor/mon-server.c, score/include/rtems/system.h: Remove
	use of RTEMS_offset() in favor of standard offsetof(). This was
	undocumented and there was only one internal use. Change noted in
	4.11 release notes.
2011-11-28 17:51:47 +00:00
Joel Sherrill
7e8ed4defc 2011-11-28 Werner Almesberger <werner@almesberger.net>
PR 1956/cpukit
	* rtems/score/cpu.h: Correct multiple alignment constants. Improve
	comments.
2011-11-28 17:36:35 +00:00
Joel Sherrill
e5a80202a8 2011-11-28 Werner Almesberger <werner@almesberger.net>
PR 1961/cpukit
	* score/src/coremsgsubmit.c: Close window caused by using message
	pending count rather than directly obtaining unused buffer.
2011-11-28 16:36:14 +00:00
Gedare Bloom
b4959ec327 2011-11-26 Gedare Bloom <gedare@rtems.org>
PR 1963
	* score/include/rtems/score/rbtree.h: Fix _RBTree_Container_of macro to
	use correct arithmetic.
2011-11-26 18:15:39 +00:00
Gedare Bloom
e3a1488ab6 2011-11-26 Gedare Bloom <gedare@rtems.org>
PR 1964
	* score/inline/rtems/score/chain.inl: Fix chain is first and last.
2011-11-26 18:10:39 +00:00
Sebastian Huber
6962842f55 Typo. 2011-11-20 14:59:41 +00:00
Sebastian Huber
bb92954067 2011-11-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1965/cpukit
	* rtems/score/arm.h: Select ARMv4 multilib implementation for
	__ARM_ARCH_7A__.
2011-11-19 14:34:10 +00:00
Jennifer Averett
84e1742810 2011-11-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* sapi/include/confdefs.h: Added a bsp override option for
	MAXIMUM_DEVICES.
2011-11-18 20:04:49 +00:00
Sebastian Huber
6ace38bd3a 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/event.h: Revert parameter name change.
2011-11-10 15:36:56 +00:00
Sebastian Huber
b4f635e9d0 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1924/cpukit
	* sapi/include/rtems/config.h: New fields stack_space_size,
	unified_work_area, and stack_allocator_avoids_work_space in
	rtems_configuration_table.
	* sapi/include/confdefs.h: Removed rtems_unified_work_area (this is
	now part of the Configuration).  Separate work space and stack space
	estimate.  Added CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
	configuration option.
	* libmisc/shell/main_wkspaceinfo.c, score/src/wkspace.c,
	libcsupport/src/malloc_initialize.c: Update due to API changes.
2011-11-10 14:40:13 +00:00
Sebastian Huber
742a2ba3b5 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/include/rtems/rtems/event.h,
	rtems/include/rtems/rtems/eventset.h,
	rtems/inline/rtems/rtems/eventset.inl: Documentation.
2011-11-10 14:09:08 +00:00
Joel Sherrill
529aa9d4a6 Move entries to correct file. 2011-11-09 18:51:59 +00:00
Joel Sherrill
634b14e551 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1954/cpukit
	* score/cpu/lm32/rtems/score/lm32.h: Protect against macro expansion.
2011-11-09 18:51:13 +00:00
Joel Sherrill
0f7afe507a 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1957/cpukit
	* score/include/rtems/score/coremutex.h,
	score/inline/rtems/score/threadmp.inl: Add parentheses to protect
	macro arguments.
2011-11-09 18:42:17 +00:00
Joel Sherrill
552a80fcbc 2011-11-09 Werner Almesberger <werner@almesberger.net>
PR 1955/cpukit
	* rtems/score/cpu.h: Convert CPU_swap_u16 into a static inline.
2011-11-09 15:15:25 +00:00
Joel Sherrill
d9bc968d5b 2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 1952/cpukit
	* libmisc/untar/untar.c: Add return code for failure when unable to
	write file.
2011-11-07 21:42:22 +00:00
Joel Sherrill
89926c95c4 Revert. 2011-11-07 21:41:45 +00:00