Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 928873
Collapse All | Expand All

(-)a/tmp/Curses-oldgood.i (-85 / +43 lines)
Lines 3046-3054 __attribute__ ((__nothrow__ , __leaf__)) strlcat (char *__restrict __dest, const Link Here
3046
3046
3047
# 54 "Curses.c" 2
3047
# 54 "Curses.c" 2
3048
# 1 "/usr/include/curses.h" 1 3 4
3048
# 1 "/usr/include/curses.h" 1 3 4
3049
# 89 "/usr/include/curses.h" 3 4
3049
# 90 "/usr/include/curses.h" 3 4
3050
# 1 "/usr/include/ncurses_dll.h" 1 3 4
3050
# 1 "/usr/include/ncurses_dll.h" 1 3 4
3051
# 90 "/usr/include/curses.h" 2 3 4
3051
# 91 "/usr/include/curses.h" 2 3 4
3052
3052
3053
3053
3054
3054
Lines 3119-3205 typedef unsigned long int uintptr_t; Link Here
3119
typedef __intmax_t intmax_t;
3119
typedef __intmax_t intmax_t;
3120
typedef __uintmax_t uintmax_t;
3120
typedef __uintmax_t uintmax_t;
3121
# 10 "/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdint.h" 2 3 4
3121
# 10 "/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdint.h" 2 3 4
3122
# 96 "/usr/include/curses.h" 2 3 4
3122
# 97 "/usr/include/curses.h" 2 3 4
3123
# 222 "/usr/include/curses.h" 3 4
3123
# 236 "/usr/include/curses.h" 3 4
3124
typedef unsigned chtype;
3124
typedef unsigned chtype;
3125
typedef unsigned mmask_t;
3125
typedef unsigned mmask_t;
3126
# 249 "/usr/include/curses.h" 3 4
3126
# 263 "/usr/include/curses.h" 3 4
3127
# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdarg.h" 1 3 4
3127
# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdarg.h" 1 3 4
3128
# 250 "/usr/include/curses.h" 2 3 4
3128
# 264 "/usr/include/curses.h" 2 3 4
3129
# 272 "/usr/include/curses.h" 3 4
3129
# 286 "/usr/include/curses.h" 3 4
3130
typedef unsigned char NCURSES_BOOL;
3130
typedef unsigned char NCURSES_BOOL;
3131
# 282 "/usr/include/curses.h" 3 4
3131
# 296 "/usr/include/curses.h" 3 4
3132
# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdbool.h" 1 3 4
3132
# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/stdbool.h" 1 3 4
3133
# 283 "/usr/include/curses.h" 2 3 4
3133
# 297 "/usr/include/curses.h" 2 3 4
3134
# 344 "/usr/include/curses.h" 3 4
3134
# 358 "/usr/include/curses.h" 3 4
3135
extern chtype acs_map[];
3135
extern chtype acs_map[];
3136
# 439 "/usr/include/curses.h" 3 4
3136
# 453 "/usr/include/curses.h" 3 4
3137
typedef struct screen SCREEN;
3137
typedef struct screen SCREEN;
3138
3138
3139
3139
3140
typedef struct _win_st WINDOW;
3140
typedef struct _win_st WINDOW;
3141
3141
3142
typedef chtype attr_t;
3142
typedef chtype attr_t;
3143
# 489 "/usr/include/curses.h" 3 4
3143
# 611 "/usr/include/curses.h" 3 4
3144
struct ldat;
3145
3146
struct _win_st
3147
{
3148
 short _cury, _curx;
3149
3150
3151
 short _maxy, _maxx;
3152
 short _begy, _begx;
3153
3154
 short _flags;
3155
3156
3157
 attr_t _attrs;
3158
 chtype _bkgd;
3159
3160
3161
 _Bool _notimeout;
3162
 _Bool _clear;
3163
 _Bool _leaveok;
3164
 _Bool _scroll;
3165
 _Bool _idlok;
3166
 _Bool _idcok;
3167
 _Bool _immed;
3168
 _Bool _sync;
3169
 _Bool _use_keypad;
3170
 int _delay;
3171
3172
 struct ldat *_line;
3173
3174
3175
 short _regtop;
3176
 short _regbottom;
3177
3178
3179
 int _parx;
3180
 int _pary;
3181
 WINDOW *_parent;
3182
3183
3184
 struct pdat
3185
 {
3186
     short _pad_y, _pad_x;
3187
     short _pad_top, _pad_left;
3188
     short _pad_bottom, _pad_right;
3189
 } _pad;
3190
3191
 short _yoffset;
3192
3193
3194
3195
3196
3197
3198
3199
};
3200
# 597 "/usr/include/curses.h" 3 4
3201
typedef int (*NCURSES_OUTC)(int);
3144
typedef int (*NCURSES_OUTC)(int);
3202
# 606 "/usr/include/curses.h" 3 4
3145
# 620 "/usr/include/curses.h" 3 4
3203
extern int addch (const chtype);
3146
extern int addch (const chtype);
3204
extern int addchnstr (const chtype *, int);
3147
extern int addchnstr (const chtype *, int);
3205
extern int addchstr (const chtype *);
3148
extern int addchstr (const chtype *);
Lines 3493-3498 extern char * tparm (const char *, ...); Link Here
3493
3436
3494
3437
3495
extern char * tiparm (const char *, ...);
3438
extern char * tiparm (const char *, ...);
3439
extern char * tiparm_s (int, int, const char *, ...);
3440
extern int tiscan_s (int *, int *, const char *);
3496
3441
3497
3442
3498
3443
Lines 3506-3519 extern int getmaxx (const WINDOW *); Link Here
3506
extern int getmaxy (const WINDOW *);
3451
extern int getmaxy (const WINDOW *);
3507
extern int getparx (const WINDOW *);
3452
extern int getparx (const WINDOW *);
3508
extern int getpary (const WINDOW *);
3453
extern int getpary (const WINDOW *);
3509
# 926 "/usr/include/curses.h" 3 4
3454
# 942 "/usr/include/curses.h" 3 4
3510
typedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *);
3455
typedef int (*NCURSES_WINDOW_CB)(WINDOW *, void *);
3511
typedef int (*NCURSES_SCREEN_CB)(SCREEN *, void *);
3456
typedef int (*NCURSES_SCREEN_CB)(SCREEN *, void *);
3512
extern _Bool is_term_resized (int, int);
3513
extern char * keybound (int, int);
3514
extern const char * curses_version (void);
3515
extern int alloc_pair (int, int);
3457
extern int alloc_pair (int, int);
3516
extern int assume_default_colors (int, int);
3458
extern int assume_default_colors (int, int);
3459
extern const char * curses_version (void);
3517
extern int define_key (const char *, int);
3460
extern int define_key (const char *, int);
3518
extern int extended_color_content(int, int *, int *, int *);
3461
extern int extended_color_content(int, int *, int *, int *);
3519
extern int extended_pair_content(int, int *, int *);
3462
extern int extended_pair_content(int, int *, int *);
Lines 3523-3542 extern int free_pair (int); Link Here
3523
extern int get_escdelay (void);
3466
extern int get_escdelay (void);
3524
extern int init_extended_color(int, int, int, int);
3467
extern int init_extended_color(int, int, int, int);
3525
extern int init_extended_pair(int, int, int);
3468
extern int init_extended_pair(int, int, int);
3469
extern int is_cbreak(void);
3470
extern int is_echo(void);
3471
extern int is_nl(void);
3472
extern int is_raw(void);
3473
extern _Bool is_term_resized (int, int);
3526
extern int key_defined (const char *);
3474
extern int key_defined (const char *);
3475
extern char * keybound (int, int);
3527
extern int keyok (int, _Bool);
3476
extern int keyok (int, _Bool);
3477
extern void nofilter(void);
3528
extern void reset_color_pairs (void);
3478
extern void reset_color_pairs (void);
3529
extern int resize_term (int, int);
3479
extern int resize_term (int, int);
3530
extern int resizeterm (int, int);
3480
extern int resizeterm (int, int);
3531
extern int set_escdelay (int);
3481
extern int set_escdelay (int);
3532
extern int set_tabsize (int);
3482
extern int set_tabsize (int);
3533
extern int use_default_colors (void);
3483
extern int use_default_colors (void);
3534
extern int use_extended_names (_Bool);
3535
extern int use_legacy_coding (int);
3484
extern int use_legacy_coding (int);
3536
extern int use_screen (SCREEN *, NCURSES_SCREEN_CB, void *);
3485
extern int use_screen (SCREEN *, NCURSES_SCREEN_CB, void *);
3537
extern int use_window (WINDOW *, NCURSES_WINDOW_CB, void *);
3486
extern int use_window (WINDOW *, NCURSES_WINDOW_CB, void *);
3538
extern int wresize (WINDOW *, int, int);
3487
extern int wresize (WINDOW *, int, int);
3539
extern void nofilter(void);
3488
3489
3490
3491
3492
extern int use_extended_names (_Bool);
3493
3540
3494
3541
3495
3542
3496
Lines 3557-3563 extern _Bool is_subwin (const WINDOW *); Link Here
3557
extern _Bool is_syncok (const WINDOW *);
3511
extern _Bool is_syncok (const WINDOW *);
3558
extern int wgetdelay (const WINDOW *);
3512
extern int wgetdelay (const WINDOW *);
3559
extern int wgetscrreg (const WINDOW *, int *, int *);
3513
extern int wgetscrreg (const WINDOW *, int *, int *);
3560
# 992 "/usr/include/curses.h" 3 4
3514
# 1017 "/usr/include/curses.h" 3 4
3561
typedef int (*NCURSES_OUTC_sp)(SCREEN*, int);
3515
typedef int (*NCURSES_OUTC_sp)(SCREEN*, int);
3562
3516
3563
extern SCREEN * new_prescr (void);
3517
extern SCREEN * new_prescr (void);
Lines 3636-3655 extern void use_tioctl_sp (SCREEN*, _Bool); Link Here
3636
extern int vidattr_sp (SCREEN*, chtype);
3590
extern int vidattr_sp (SCREEN*, chtype);
3637
extern int vidputs_sp (SCREEN*, chtype, NCURSES_OUTC_sp);
3591
extern int vidputs_sp (SCREEN*, chtype, NCURSES_OUTC_sp);
3638
3592
3639
extern char * keybound_sp (SCREEN*, int, int);
3640
extern int alloc_pair_sp (SCREEN*, int, int);
3593
extern int alloc_pair_sp (SCREEN*, int, int);
3641
extern int assume_default_colors_sp (SCREEN*, int, int);
3594
extern int assume_default_colors_sp (SCREEN*, int, int);
3642
extern int define_key_sp (SCREEN*, const char *, int);
3595
extern int define_key_sp (SCREEN*, const char *, int);
3643
extern int extended_color_content_sp (SCREEN*, int, int *, int *, int *);
3596
extern int extended_color_content_sp (SCREEN*, int, int *, int *, int *);
3644
extern int extended_pair_content_sp (SCREEN*, int, int *, int *);
3597
extern int extended_pair_content_sp (SCREEN*, int, int *, int *);
3645
extern int extended_slk_color_sp (SCREEN*, int);
3598
extern int extended_slk_color_sp (SCREEN*, int);
3646
extern int get_escdelay_sp (SCREEN*);
3647
extern int find_pair_sp (SCREEN*, int, int);
3599
extern int find_pair_sp (SCREEN*, int, int);
3648
extern int free_pair_sp (SCREEN*, int);
3600
extern int free_pair_sp (SCREEN*, int);
3601
extern int get_escdelay_sp (SCREEN*);
3649
extern int init_extended_color_sp (SCREEN*, int, int, int, int);
3602
extern int init_extended_color_sp (SCREEN*, int, int, int, int);
3650
extern int init_extended_pair_sp (SCREEN*, int, int, int);
3603
extern int init_extended_pair_sp (SCREEN*, int, int, int);
3604
extern int is_cbreak_sp (SCREEN*);
3605
extern int is_echo_sp (SCREEN*);
3606
extern int is_nl_sp (SCREEN*);
3607
extern int is_raw_sp (SCREEN*);
3651
extern _Bool is_term_resized_sp (SCREEN*, int, int);
3608
extern _Bool is_term_resized_sp (SCREEN*, int, int);
3652
extern int key_defined_sp (SCREEN*, const char *);
3609
extern int key_defined_sp (SCREEN*, const char *);
3610
extern char * keybound_sp (SCREEN*, int, int);
3653
extern int keyok_sp (SCREEN*, int, _Bool);
3611
extern int keyok_sp (SCREEN*, int, _Bool);
3654
extern void nofilter_sp (SCREEN*);
3612
extern void nofilter_sp (SCREEN*);
3655
extern void reset_color_pairs_sp (SCREEN*);
3613
extern void reset_color_pairs_sp (SCREEN*);
Lines 3659-3665 extern int set_escdelay_sp (SCREEN*, int); Link Here
3659
extern int set_tabsize_sp (SCREEN*, int);
3617
extern int set_tabsize_sp (SCREEN*, int);
3660
extern int use_default_colors_sp (SCREEN*);
3618
extern int use_default_colors_sp (SCREEN*);
3661
extern int use_legacy_coding_sp (SCREEN*, int);
3619
extern int use_legacy_coding_sp (SCREEN*, int);
3662
# 1477 "/usr/include/curses.h" 3 4
3620
# 1506 "/usr/include/curses.h" 3 4
3663
extern WINDOW * curscr;
3621
extern WINDOW * curscr;
3664
extern WINDOW * newscr;
3622
extern WINDOW * newscr;
3665
extern WINDOW * stdscr;
3623
extern WINDOW * stdscr;
Lines 3670-3676 extern int COLS; Link Here
3670
extern int ESCDELAY;
3628
extern int ESCDELAY;
3671
extern int LINES;
3629
extern int LINES;
3672
extern int TABSIZE;
3630
extern int TABSIZE;
3673
# 1692 "/usr/include/curses.h" 3 4
3631
# 1721 "/usr/include/curses.h" 3 4
3674
typedef struct
3632
typedef struct
3675
{
3633
{
3676
    short id;
3634
    short id;
Lines 3694-3700 extern int getmouse_sp (SCREEN*, MEVENT *); Link Here
3694
extern int ungetmouse_sp (SCREEN*,MEVENT *);
3652
extern int ungetmouse_sp (SCREEN*,MEVENT *);
3695
extern mmask_t mousemask_sp (SCREEN*, mmask_t, mmask_t *);
3653
extern mmask_t mousemask_sp (SCREEN*, mmask_t, mmask_t *);
3696
extern int mouseinterval_sp (SCREEN*, int);
3654
extern int mouseinterval_sp (SCREEN*, int);
3697
# 1723 "/usr/include/curses.h" 3 4
3655
# 1752 "/usr/include/curses.h" 3 4
3698
extern int mcprint (char *, int);
3656
extern int mcprint (char *, int);
3699
extern int has_key (int);
3657
extern int has_key (int);
3700
3658
Lines 3711-3720 extern char * _traceattr2 (int, chtype); Link Here
3711
extern char * _tracechar (int);
3669
extern char * _tracechar (int);
3712
extern char * _tracechtype (chtype);
3670
extern char * _tracechtype (chtype);
3713
extern char * _tracechtype2 (int, chtype);
3671
extern char * _tracechtype2 (int, chtype);
3714
# 1748 "/usr/include/curses.h" 3 4
3672
# 1777 "/usr/include/curses.h" 3 4
3715
extern void trace (const unsigned) __attribute__((deprecated));
3673
extern void trace (const unsigned) __attribute__((deprecated));
3716
extern unsigned curses_trace (const unsigned);
3674
extern unsigned curses_trace (const unsigned);
3717
# 1780 "/usr/include/curses.h" 3 4
3675
# 1809 "/usr/include/curses.h" 3 4
3718
extern void exit_curses (int);
3676
extern void exit_curses (int);
3719
3677
3720
# 1 "/usr/include/unctrl.h" 1 3 4
3678
# 1 "/usr/include/unctrl.h" 1 3 4
Lines 3727-3733 extern void exit_curses (int); Link Here
3727
3685
3728
3686
3729
 const char * unctrl_sp (SCREEN*, chtype);
3687
 const char * unctrl_sp (SCREEN*, chtype);
3730
# 1783 "/usr/include/curses.h" 2 3 4
3688
# 1812 "/usr/include/curses.h" 2 3 4
3731
# 55 "Curses.c" 2
3689
# 55 "Curses.c" 2
3732
3690
3733
# 1 "../../../CUnit/Headers/CUnit.h" 1
3691
# 1 "../../../CUnit/Headers/CUnit.h" 1

Return to bug 928873