diff options
Diffstat (limited to 'libpager')
-rw-r--r-- | libpager/pager-create.c | 2 | ||||
-rw-r--r-- | libpager/priv.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libpager/pager-create.c b/libpager/pager-create.c index b3b7c8f0..7f2f7d6e 100644 --- a/libpager/pager-create.c +++ b/libpager/pager-create.c @@ -17,6 +17,8 @@ #include "priv.h" +struct port_class *_pager_class; + static struct pager * _pager_create (size_t size, struct port_bucket *bucket, diff --git a/libpager/priv.h b/libpager/priv.h index a45ae3fc..5d6a07e6 100644 --- a/libpager/priv.h +++ b/libpager/priv.h @@ -128,7 +128,7 @@ extern int _pager_page_errors[]; #define PM_NEXTERROR(byte) ((byte) & 0x3) #define SET_PM_NEXTERROR(byte,err) (((byte) & ~0x3) | (err)) -struct port_class *_pager_class; +extern struct port_class *_pager_class; void _pager_block_termination (struct pager *); |