diff options
author | Peter Wemm <peter@FreeBSD.org> | 1999-05-09 16:04:14 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1999-05-09 16:04:14 +0000 |
commit | e37622b251e83d73d24e7d321792282450db458d (patch) | |
tree | 5739bcd503d1c71542a7d502bb803ecdeeb1d581 /sys/compat | |
parent | 47154c870630ae207b22e1330d272c99e8c0f8ff (diff) | |
download | src-e37622b251e83d73d24e7d321792282450db458d.tar.gz src-e37622b251e83d73d24e7d321792282450db458d.zip |
Fix a couple of warnings and some bitrot in comments.
Notes
Notes:
svn path=/head/; revision=46803
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 4 | ||||
-rw-r--r-- | sys/compat/svr4/imgact_svr4.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 3b4efd95dac9..30f94d603640 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.31 1999/04/29 04:37:57 luoqi Exp $ + * $Id: linux_ioctl.c,v 1.32 1999/05/06 18:44:22 peter Exp $ */ #include <sys/param.h> @@ -484,6 +484,7 @@ struct linux_cdrom_tocentry u_char cdte_datamode; }; +#if 0 static void linux_to_bsd_msf_lba(u_char address_format, union linux_cdrom_addr *lp, union msf_lba *bp) @@ -496,6 +497,7 @@ linux_to_bsd_msf_lba(u_char address_format, bp->msf.frame = lp->msf.frame; } } +#endif static void bsd_to_linux_msf_lba(u_char address_format, diff --git a/sys/compat/svr4/imgact_svr4.c b/sys/compat/svr4/imgact_svr4.c index c3a0be65b416..5c2dc0dfce3d 100644 --- a/sys/compat/svr4/imgact_svr4.c +++ b/sys/compat/svr4/imgact_svr4.c @@ -229,9 +229,7 @@ exec_svr4_imgact(imgp) /* * Tell kern_execve.c about it, with a little help from the linker. - * Since `const' objects end up in the text segment, TEXT_SET is the - * correct directive to use. */ -const struct execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" }; +const execsw svr4_execsw = { exec_svr4_imgact, "svr4 ELF" }; EXEC_SET(execsw_set, svr4_execsw); |