mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
Addressing some clang warnings
This commit is contained in:
parent
4a8b71c191
commit
af373aa1cc
@ -1,5 +1,5 @@
|
|||||||
static void
|
static void
|
||||||
refreshoptions()
|
refreshoptions(void)
|
||||||
{
|
{
|
||||||
int dynlen = strlen(dynamic);
|
int dynlen = strlen(dynamic);
|
||||||
char* cmd= malloc(dynlen + strlen(text) + 2);
|
char* cmd= malloc(dynlen + strlen(text) + 2);
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
static void refreshoptions();
|
static void refreshoptions(void);
|
||||||
static void readstream(FILE* stream);
|
static void readstream(FILE* stream);
|
@ -1,2 +1 @@
|
|||||||
static int arrayhas(char **list, int length, char *item);
|
static int arrayhas(char **list, int length, char *item);
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ printsel(unsigned int state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
selsel()
|
selsel(void)
|
||||||
{
|
{
|
||||||
if (!sel)
|
if (!sel)
|
||||||
return;
|
return;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
static char numbers[NUMBERSBUFSIZE] = "";
|
static char numbers[NUMBERSBUFSIZE] = "";
|
||||||
|
|
||||||
static void
|
static void
|
||||||
recalculatenumbers()
|
recalculatenumbers(void)
|
||||||
{
|
{
|
||||||
unsigned int numer = 0, denom = 0;
|
unsigned int numer = 0, denom = 0;
|
||||||
struct item *item;
|
struct item *item;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#define NUMBERSMAXDIGITS 100
|
#define NUMBERSMAXDIGITS 100
|
||||||
#define NUMBERSBUFSIZE (NUMBERSMAXDIGITS * 2) + 1
|
#define NUMBERSBUFSIZE (NUMBERSMAXDIGITS * 2) + 1
|
||||||
|
|
||||||
static void recalculatenumbers();
|
static void recalculatenumbers(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user