summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-09 16:04:14 +0000
committerpeter <peter@FreeBSD.org>1999-05-09 16:04:14 +0000
commit5350e97b5abcf4b8708d21566bc597a726853519 (patch)
treed21e89313019628f57dd161c5e864394cfbc7d9f /sys/i386/linux
parent586a0280e6e145819a839cca9112964648c6161f (diff)
downloadFreeBSD-src-5350e97b5abcf4b8708d21566bc597a726853519.zip
FreeBSD-src-5350e97b5abcf4b8708d21566bc597a726853519.tar.gz
Fix a couple of warnings and some bitrot in comments.
Diffstat (limited to 'sys/i386/linux')
-rw-r--r--sys/i386/linux/imgact_linux.c7
-rw-r--r--sys/i386/linux/linux_ioctl.c4
2 files changed, 5 insertions, 6 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c
index 59ee247..3850a4d 100644
--- a/sys/i386/linux/imgact_linux.c
+++ b/sys/i386/linux/imgact_linux.c
@@ -28,7 +28,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: imgact_linux.c,v 1.30 1998/10/16 03:55:00 peter Exp $
+ * $Id: imgact_linux.c,v 1.31 1999/01/17 20:36:14 peter Exp $
*/
#include <sys/param.h>
@@ -233,9 +233,6 @@ exec_linux_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.
*/
-static const struct execsw linux_execsw = { exec_linux_imgact, "linux a.out" };
+static struct execsw linux_execsw = { exec_linux_imgact, "linux a.out" };
EXEC_SET(linuxaout, linux_execsw);
-
diff --git a/sys/i386/linux/linux_ioctl.c b/sys/i386/linux/linux_ioctl.c
index 3b4efd9..30f94d6 100644
--- a/sys/i386/linux/linux_ioctl.c
+++ b/sys/i386/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,
OpenPOWER on IntegriCloud