mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 22:52:34 +01:00
WPrefs: Move declaration of function into the common header
It is a bad idea to declare the prototype of an external function in a file as it won't allow the compiler to cross-check it.
This commit is contained in:
committed by
Carlos R. Mafra
parent
90d24a1648
commit
8238e4681a
@@ -95,7 +95,6 @@ static char *wheelActions[2];
|
||||
|
||||
#define DELAY(i) ((i)*75+170)
|
||||
|
||||
int ModifierFromKey(Display * dpy, char *key);
|
||||
|
||||
static void setMouseAccel(WMScreen * scr, float accel, int threshold)
|
||||
{
|
||||
|
||||
@@ -115,6 +115,10 @@ void SetSpeedForKey(int speed, const char *defaultName);
|
||||
void AddDeadChildHandler(pid_t pid, void (*handler)(void*), void *data);
|
||||
|
||||
|
||||
/* ---[ xmodifier.c ] ---------------------------------------------------- */
|
||||
int ModifierFromKey(Display * dpy, char *key);
|
||||
|
||||
|
||||
#define FRAME_TOP 105
|
||||
#define FRAME_LEFT -2
|
||||
#define FRAME_WIDTH 524
|
||||
|
||||
Reference in New Issue
Block a user