Fix symbols not marked extern

This commit is contained in:
Kevin Lange 2015-05-14 09:32:52 -07:00
parent 6acef2ab41
commit 66938e3123
2 changed files with 15 additions and 15 deletions

View File

@ -86,9 +86,9 @@ typedef struct {
uint32_t type;
} __attribute__ ((packed)) mboot_memmap_t;
struct multiboot *copy_multiboot(struct multiboot *mboot_ptr);
void dump_multiboot(struct multiboot *mboot_ptr);
char * ramdisk;
struct multiboot * mboot_ptr;
extern struct multiboot *copy_multiboot(struct multiboot *mboot_ptr);
extern void dump_multiboot(struct multiboot *mboot_ptr);
extern char * ramdisk;
extern struct multiboot * mboot_ptr;
#endif

View File

@ -1,21 +1,21 @@
#ifndef VERSION_H
#define VERSION_H
char * __kernel_name;
char * __kernel_version_format;
extern char * __kernel_name;
extern char * __kernel_version_format;
int __kernel_version_major;
int __kernel_version_minor;
int __kernel_version_lower;
extern int __kernel_version_major;
extern int __kernel_version_minor;
extern int __kernel_version_lower;
char * __kernel_version_suffix;
char * __kernel_version_codename;
extern char * __kernel_version_suffix;
extern char * __kernel_version_codename;
char * __kernel_arch;
extern char * __kernel_arch;
char * __kernel_build_date;
char * __kernel_build_time;
extern char * __kernel_build_date;
extern char * __kernel_build_time;
char * __kernel_compiler_version;
extern char * __kernel_compiler_version;
#endif