Details
[Home]
Issue of the Standard # S0289
Brief
Variables are declared as functions in curses.h in LSB 3.1
Detailed Description
The following variables are mistakenly declared as functions in curses.h in LSB 3.1:
extern int COLORS(void); extern int COLOR_PAIRS(void); extern WINDOW *curscr(void); extern WINDOW *stdscr(void); extern int COLS(void); extern int LINES(void);Besides, array ‘acs_map’ is also mistakenly declared as a function:
extern chtype acs_map(void);
Problem location(s) in the standard
Linux Standard Base Core Specification 3.1, Chapter 14. Utility Libraries, 14.6. Data Definitions for libncurses, 14.6.1. curses.h.
Possible solutions
Replace the above declarations by the following:
extern int COLORS; extern int COLOR_PAIRS; extern chtype acs_map [128]; extern WINDOW *curscr; extern WINDOW *stdscr; extern int COLS; extern int LINES;
Accepted
LSB Bugzilla, 1337
Status
Fixed in LSB 3.2
[Home]
»