Ralf Corsepius
f20e61aebc
2008-08-29 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* ftpd/ftpd.c: Fix prototype.
2008-08-29 14:25:14 +00:00
Joel Sherrill
f3db4ac83a
2008-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libmisc/Makefile.am, libmisc/shell/shell.c, libmisc/shell/shell.h:
Split out rtems_shell_get_prompt() so it can be overridden by the
user.
* libmisc/shell/shell_getprompt.c: New file.
2008-08-27 12:48:41 +00:00
Ralf Corsepius
2a620dbbfd
2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libnetworking/libc/getproto.c, libnetworking/libc/getprotoent.c,
libnetworking/libc/getprotoname.c,
libnetworking/libc/getservbyname.c,
libnetworking/libc/inet_makeaddr.c, libnetworking/libc/recv.c,
libnetworking/libc/send.c: Stop using old-style
function-definitions.
2008-08-27 11:14:07 +00:00
Ralf Corsepius
f3e460bbbe
2008-08-26 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/fsmount/fsmount.c: Convert to using bool.
2008-08-26 12:22:39 +00:00
Thomas Doerfler
4b23c94504
various changes to gen83xx BSP and others
2008-08-26 11:55:31 +00:00
Ralf Corsepius
0fc02b16c2
2008-08-26 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* pppd/auth.c, pppd/ccp.c, pppd/chap.c, pppd/chat.c,
pppd/demand.c, pppd/fsm.c, pppd/ipcp.c, pppd/lcp.c,
pppd/magic.c, pppd/options.c, pppd/rtemsmain.c,
pppd/sys-rtems.c, pppd/upap.c, pppd/utils.c:
Stop using old-style function-definitions.
2008-08-26 10:24:31 +00:00
Ralf Corsepius
8e92db9f73
2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libblock/src/bdbuf.c, libblock/src/diskdevs.c,
libblock/src/ide_part_table.c, libblock/src/ramdisk.c:
s/rtems_boolean/bool/g.
2008-08-25 15:08:09 +00:00
Ralf Corsepius
28041b675b
2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmd/md4.c, libmd/md5.c:
Stop using old-style function-definitions.
2008-08-25 11:53:58 +00:00
Ralf Corsepius
5e042599bf
2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/src/closedir.c, libcsupport/src/getcwd.c,
libcsupport/src/mount.c, libcsupport/src/newlibc.c,
libcsupport/src/opendir.c, libcsupport/src/readdir.c,
libcsupport/src/scandir.c:
Stop using old-style function-definitions.
2008-08-25 11:19:42 +00:00
Ralf Corsepius
9190a31d76
2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libcsupport/src/malloc_boundary.c: Use %zi to print size_t.
2008-08-25 11:15:24 +00:00
Ralf Corsepius
8b7ec01157
2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/capture/capture.c, libmisc/shell/fts.c:
Stop using old-style function-definitions.
2008-08-25 11:03:50 +00:00
Joel Sherrill
cec5c069b0
2008-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libblock/include/rtems/bdbuf.h, libblock/include/rtems/diskdevs.h,
libblock/src/bdbuf.c, libblock/src/blkdev.c, libblock/src/diskdevs.c,
libblock/src/ramdisk.c: Eliminate sign mismatch warnings.
2008-08-21 16:17:35 +00:00
Ralf Corsepius
a94ef122c2
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/monitor/mon-network.c: Use memset instead of bzero.
2008-08-21 13:07:01 +00:00
Ralf Corsepius
9ac81fe2ea
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/shell/internal.h: Don't include "config.h".
Adjust header guard.
2008-08-21 12:30:23 +00:00
Ralf Corsepius
16e4fb6352
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/shell/cmp-ls.c, libmisc/shell/err.c,
libmisc/shell/errx.c, libmisc/shell/filemode.c,
libmisc/shell/fts.c, libmisc/shell/main_cp.c,
libmisc/shell/main_ls.c, libmisc/shell/main_mv.c,
libmisc/shell/main_rm.c, libmisc/shell/print-ls.c,
libmisc/shell/pwcache.c, libmisc/shell/shellconfig.c,
libmisc/shell/utils-cp.c, libmisc/shell/utils-ls.c,
libmisc/shell/verr.c, libmisc/shell/verrx.c,
libmisc/shell/vis.c, libmisc/shell/vwarn.c,
libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
libmisc/shell/warnx.c: Include "config.h".
2008-08-21 12:29:12 +00:00
Ralf Corsepius
84b36f433a
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/monitor/mon-network.c, libmisc/monitor/mon-part.c,
libmisc/monitor/mon-region.c, libmisc/monitor/mon-sema.c:
Include "config.h".
2008-08-21 12:25:51 +00:00
Ralf Corsepius
e53fd874fc
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libmisc/shell/main_ifconfig.c: Use memset instead of bzero.
2008-08-21 06:07:16 +00:00
Ralf Corsepius
3316af8af2
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* ftpd/ftpd.c: Don't use annonymous unions.
2008-08-21 04:57:22 +00:00
Ralf Corsepius
199a0d363d
2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libblock/src/flashdisk.c: Remove bool, true, false.
2008-08-21 04:32:22 +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
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
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
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
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
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
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
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
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
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
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
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
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