Skip to content

Commit 01a8948

Browse files
authored
Rename _curXXX structures to curXXX to avoid leading underscore (#376)
1 parent 36ccd9a commit 01a8948

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

src/dspif.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@
2121
#include "dspifdefs.h"
2222
#include "xinitdefs.h"
2323

24-
DspInterfaceRec _curdsp;
25-
26-
DspInterface currentdsp = &_curdsp;
24+
DspInterfaceRec curdsp;
25+
DspInterface currentdsp = &curdsp;
2726

2827
#ifdef XWINDOW
2928
extern int LispDisplayRequestedWidth;

src/kbdif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
#include "dbprint.h"
1717
#include "devif.h"
1818

19-
KbdInterfaceRec _curkbd;
20-
KbdInterface currentkbd = &_curkbd;
19+
KbdInterfaceRec curkbd;
20+
KbdInterface currentkbd = &curkbd;
2121

2222
#ifdef DOS
2323
extern void Kbd_event();

src/mouseif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include "dbprint.h"
1818
#include "devif.h"
1919

20-
MouseInterfaceRec _curmouse;
21-
MouseInterface currentmouse = &_curmouse;
20+
MouseInterfaceRec curmouse;
21+
MouseInterface currentmouse = &curmouse;
2222

2323
#ifdef DOS
2424
#include <dos.h>

0 commit comments

Comments
 (0)