diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-03 08:31:25 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-03 08:31:25 +0000 |
commit | 722bdd8f8ceb73f9baead9fc738b8c5451dade81 (patch) | |
tree | efe8ad0f5dab7ef687be87f1d0b4e1b5c02b4227 /cpukit/libnetworking/lib/tftpDriver.c | |
parent | 2009-01-03 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-722bdd8f8ceb73f9baead9fc738b8c5451dade81.tar.bz2 |
Add __attribute__((unused)) to unused function args.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/lib/tftpDriver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c index 9563e2bb8b..734d0bda35 100644 --- a/cpukit/libnetworking/lib/tftpDriver.c +++ b/cpukit/libnetworking/lib/tftpDriver.c @@ -421,9 +421,9 @@ releaseStream (int s) } static int rtems_tftp_evaluate_for_make( - const char *path, /* IN */ + const char *path __attribute__((unused)), /* IN */ rtems_filesystem_location_info_t *pathloc, /* IN/OUT */ - const char **name /* OUT */ + const char **name __attribute__((unused)) /* OUT */ ) { pathloc->node_access = NULL; @@ -540,7 +540,7 @@ static int rtems_tftp_open_worker( rtems_libio_t *iop, char *full_path_name, uint32_t flags, - uint32_t mode + uint32_t mode __attribute__((unused)) ) { struct tftpStream *tp; @@ -983,8 +983,8 @@ static ssize_t rtems_tftp_write( * Dummy version to let fopen(xxxx,"w") work properly. */ static int rtems_tftp_ftruncate( - rtems_libio_t *iop, - off_t count + rtems_libio_t *iop __attribute__((unused)), + off_t count __attribute__((unused)) ) { return 0; |