diff options
author | peter <peter@FreeBSD.org> | 1999-05-09 16:04:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-09 16:04:14 +0000 |
commit | 5350e97b5abcf4b8708d21566bc597a726853519 (patch) | |
tree | d21e89313019628f57dd161c5e864394cfbc7d9f /sys/kern | |
parent | 586a0280e6e145819a839cca9112964648c6161f (diff) | |
download | FreeBSD-src-5350e97b5abcf4b8708d21566bc597a726853519.zip FreeBSD-src-5350e97b5abcf4b8708d21566bc597a726853519.tar.gz |
Fix a couple of warnings and some bitrot in comments.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/imgact_aout.c | 4 | ||||
-rw-r--r-- | sys/kern/imgact_elf.c | 4 | ||||
-rw-r--r-- | sys/kern/imgact_gzip.c | 5 | ||||
-rw-r--r-- | sys/kern/imgact_shell.c | 4 |
4 files changed, 4 insertions, 13 deletions
diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 0092aeb..8378f43 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.48 1999/03/10 07:07:42 alc Exp $ + * $Id: imgact_aout.c,v 1.49 1999/04/03 22:20:01 jdp Exp $ */ #include <sys/param.h> @@ -309,8 +309,6 @@ out: /* * 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 struct execsw aout_execsw = { exec_aout_imgact, "a.out" }; EXEC_SET(aout, aout_execsw); diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 8aadb7e..c1fef52 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -26,7 +26,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_elf.c,v 1.54 1999/02/19 14:25:34 luoqi Exp $ + * $Id: imgact_elf.c,v 1.55 1999/02/20 23:52:34 jdp Exp $ */ #include "opt_rlimit.h" @@ -1028,8 +1028,6 @@ elf_putnote(void *dst, size_t *off, const char *name, int type, /* * 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 struct execsw elf_execsw = {exec_elf_imgact, "ELF"}; EXEC_SET(elf, elf_execsw); diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c index 35cfe43..0c410f3 100644 --- a/sys/kern/imgact_gzip.c +++ b/sys/kern/imgact_gzip.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: imgact_gzip.c,v 1.35 1998/10/16 03:55:00 peter Exp $ + * $Id: imgact_gzip.c,v 1.36 1999/01/29 22:59:43 dillon Exp $ * * This module handles execution of a.out files which have been run through * "gzip". This saves diskspace, but wastes cpu-cycles and VM. @@ -370,9 +370,6 @@ Flush(void *vp, u_char * ptr, u_long siz) /* * 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 struct execsw gzip_execsw = {exec_gzip_imgact, "gzip"}; EXEC_SET(execgzip, gzip_execsw); diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c index 361cf18..4a6e6f7 100644 --- a/sys/kern/imgact_shell.c +++ b/sys/kern/imgact_shell.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_shell.c,v 1.17 1998/10/16 03:55:00 peter Exp $ + * $Id: imgact_shell.c,v 1.18 1999/01/29 22:59:43 dillon Exp $ */ #include <sys/param.h> @@ -131,8 +131,6 @@ exec_shell_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 struct execsw shell_execsw = { exec_shell_imgact, "#!" }; EXEC_SET(shell, shell_execsw); |