Fixed a sloppy common-style definitions.
This commit is contained in:
parent
390341dca5
commit
8feb0ae525
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: kern_linker.c,v 1.2 1997/08/02 14:31:28 bde Exp $
|
||||
* $Id: kern_linker.c,v 1.3 1997/11/06 19:29:10 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -38,6 +38,8 @@
|
||||
#include <sys/module.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
linker_file_t linker_current_file;
|
||||
|
||||
static struct lock lock; /* lock for the file list */
|
||||
static linker_class_list_t classes;
|
||||
static linker_file_list_t files;
|
||||
|
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: link_aout.c,v 1.3 1997/10/24 05:29:07 jmg Exp $
|
||||
* $Id: link_aout.c,v 1.4 1997/11/07 08:52:59 phk Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -44,6 +44,13 @@ static int link_aout_lookup_symbol(linker_file_t, const char*,
|
||||
caddr_t*, size_t*);
|
||||
static void link_aout_unload(linker_file_t);
|
||||
|
||||
/*
|
||||
* The file representing the currently running kernel. This contains
|
||||
* the global symbol table.
|
||||
*/
|
||||
|
||||
static linker_file_t linker_kernel_file;
|
||||
|
||||
static struct linker_class_ops link_aout_class_ops = {
|
||||
link_aout_load_file,
|
||||
};
|
||||
|
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: linker.h,v 1.1 1997/05/07 16:05:45 dfr Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_LINKER_H_
|
||||
@ -105,17 +105,11 @@ struct linker_class {
|
||||
struct linker_class_ops *ops;
|
||||
};
|
||||
|
||||
/*
|
||||
* The file representing the currently running kernel. This contains
|
||||
* the global symbol table.
|
||||
*/
|
||||
linker_file_t linker_kernel_file;
|
||||
|
||||
/*
|
||||
* The file which is currently loading. Used to register modules with
|
||||
* the files which contain them.
|
||||
*/
|
||||
linker_file_t linker_current_file;
|
||||
extern linker_file_t linker_current_file;
|
||||
|
||||
/*
|
||||
* Add a new file class to the linker.
|
||||
|
Loading…
Reference in New Issue
Block a user