summaryrefslogtreecommitdiff
path: root/xnest-plugin/XnestDis.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-26 17:53:41 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-26 17:53:41 -0200
commit1a750c272683fab37cc7cd4327ccefdfa39faf85 (patch)
tree23c973ca975ec853807032e3bb1eca58422f31ce /xnest-plugin/XnestDis.c
parent549335c473370f8a243be79387577306e525f144 (diff)
Correct make distcheck and most sparse warnings.
Only remaining sparse warning is about no previous definition for the function vectors declared in Xtrans/Xtranssock.c. Also, use only one .gitignore file, instead of one per directory.
Diffstat (limited to 'xnest-plugin/XnestDis.c')
-rw-r--r--xnest-plugin/XnestDis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xnest-plugin/XnestDis.c b/xnest-plugin/XnestDis.c
index 0b868db..d02d5aa 100644
--- a/xnest-plugin/XnestDis.c
+++ b/xnest-plugin/XnestDis.c
@@ -47,7 +47,7 @@ The Open Group.
static char xnest_display_numbers[MAX_PLUGINS];
void
-RxpInitXnestDisplayNumbers()
+RxpInitXnestDisplayNumbers(void)
{
memset(xnest_display_numbers, 0, sizeof(char) * MAX_PLUGINS);
}
@@ -81,7 +81,7 @@ Bool IsDisplayNumFree(int id)
/* function returning first display number available */
int
-RxpXnestDisplayNumber()
+RxpXnestDisplayNumber(void)
{
int i;
for (i = 0; i < MAX_PLUGINS; i++)