summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-02-11 01:46:50 +0000
committereivind <eivind@FreeBSD.org>1998-02-11 01:46:50 +0000
commit5cb8382644780b0373c0ffb7f8578503885b687f (patch)
treeaedf73651669a799c9cb5b0b4e925c39d7b60f8d /sys/i386/ibcs2
parentfeb116808c79cfedb794e13d8ffd6a87ace2749c (diff)
downloadFreeBSD-src-5cb8382644780b0373c0ffb7f8578503885b687f.zip
FreeBSD-src-5cb8382644780b0373c0ffb7f8578503885b687f.tar.gz
De-staticize enough to make all the LKMs work again. Add comments where
deemed relevant.
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r--sys/i386/ibcs2/imgact_coff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c
index ad5521d..d38c7b6 100644
--- a/sys/i386/ibcs2/imgact_coff.c
+++ b/sys/i386/ibcs2/imgact_coff.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_coff.c,v 1.28 1997/12/27 02:56:18 bde Exp $
+ * $Id: imgact_coff.c,v 1.29 1998/02/09 06:08:20 eivind Exp $
*/
#include <sys/param.h>
@@ -473,7 +473,7 @@ exec_coff_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.
+ * correct directive to use. Do not staticize; used by coff LKM.
*/
-static const struct execsw coff_execsw = { exec_coff_imgact, "coff" };
+const struct execsw coff_execsw = { exec_coff_imgact, "coff" };
TEXT_SET(execsw_set, coff_execsw);
OpenPOWER on IntegriCloud