diff options
Diffstat (limited to 'libcons')
-rw-r--r-- | libcons/extra-version.c | 2 | ||||
-rw-r--r-- | libcons/vcons-add.c | 2 | ||||
-rw-r--r-- | libcons/vcons-remove.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libcons/extra-version.c b/libcons/extra-version.c index 4ff54d85..1021c878 100644 --- a/libcons/extra-version.c +++ b/libcons/extra-version.c @@ -21,4 +21,4 @@ #include "priv.h" -char *cons_extra_version = ""; +char *cons_extra_version __attribute__ ((weak)) = ""; diff --git a/libcons/vcons-add.c b/libcons/vcons-add.c index 1a6eb204..c46f5e07 100644 --- a/libcons/vcons-add.c +++ b/libcons/vcons-add.c @@ -24,7 +24,7 @@ /* The virtual console entry VCONS_ENTRY was just added. CONS is locked. */ -void +void __attribute__ ((weak)) cons_vcons_add (cons_t cons, vcons_list_t vcons_entry) { } diff --git a/libcons/vcons-remove.c b/libcons/vcons-remove.c index 34b31d6f..273c5a0f 100644 --- a/libcons/vcons-remove.c +++ b/libcons/vcons-remove.c @@ -24,7 +24,7 @@ /* The virtual console VCONS_ENTRY is going to be removed. VCONS_ENTRY->cons is locked. */ -void +void __attribute__ ((weak)) cons_vcons_remove (cons_t cons, vcons_list_t vcons_entry) { assert (!vcons_entry->vcons); |