Skip to content

Commit 9ebb6da

Browse files
committed
deimos.ncurses.curses: Fix static linking
Fix definitions which conflict with those present in the ncurses library itself.
1 parent e6b3c34 commit 9ebb6da

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/deimos/ncurses/curses.d

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,8 +719,7 @@ int refresh()()
719719
int resetty();
720720
int reset_prog_mode();
721721
int reset_shell_mode();
722-
//TODO
723-
__gshared int function(int line, int function(WINDOW* win, int cols) init) ripoffline;
722+
int ripoffline(int line, int function(WINDOW* win, int cols) init);
724723
int savetty();
725724
int scanw(const char* fmt, ...);
726725
int scr_dump(char *filename);
@@ -917,7 +916,7 @@ int getpary(U:WINDOW*)(U win)
917916
/*
918917
* vid_attr() was implemented originally based on a draft of X/Open curses.
919918
*/
920-
int vid_attr(chtype a, ...)
919+
int vid_attr()(chtype a, ...)
921920
{ return vidattr(a); }
922921

923922

0 commit comments

Comments
 (0)