mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
All types ended up being an int so no need to revbump. Doesn't actually full build with Clang 16 though yet. Signed-off-by: Sam James <sam@gentoo.org>
50 lines
1.2 KiB
Diff
50 lines
1.2 KiB
Diff
https://sourceforge.net/p/tix/bugs/112/
|
|
|
|
Avoid implicit int declarations, a feature removed from C language with C99.
|
|
|
|
--- a/generic/tixDiImg.c
|
|
+++ b/generic/tixDiImg.c
|
|
@@ -352,6 +352,8 @@ Tix_ImageItemDisplay(drawable, iPtr, x, y, width, height, xOffset, yOffset,
|
|
int y;
|
|
int width;
|
|
int height;
|
|
+ int xOffset;
|
|
+ int yOffset;
|
|
int flags;
|
|
{
|
|
TixImageItem *itPtr = (TixImageItem *)iPtr;
|
|
--- a/generic/tixDiWin.c
|
|
+++ b/generic/tixDiWin.c
|
|
@@ -458,6 +458,8 @@ Tix_WindowItemDisplay(drawable, iPtr, x, y, width, height, xOffset, yOffset,
|
|
int y;
|
|
int width;
|
|
int height;
|
|
+ int xOffset;
|
|
+ int yOffset;
|
|
int flags;
|
|
{
|
|
TixWindowItem *itPtr = (TixWindowItem *)iPtr;
|
|
--- a/generic/tixForm.c
|
|
+++ b/generic/tixForm.c
|
|
@@ -150,7 +150,7 @@ static Tcl_HashTable masterInfoHashTable;
|
|
/*
|
|
* Have static variables in this module been initialized?
|
|
*/
|
|
-static initialized = 0;
|
|
+static int initialized = 0;
|
|
|
|
static int ReqSize(tkwin, axis)
|
|
Tk_Window tkwin;
|
|
--- a/unix/tixUnixMwm.c
|
|
+++ b/unix/tixUnixMwm.c
|
|
@@ -768,7 +768,7 @@ GetMwmInfo(interp, tkwin)
|
|
Tcl_Interp * interp;
|
|
Tk_Window tkwin;
|
|
{
|
|
- static inited = 0;
|
|
+ static int inited = 0;
|
|
Tcl_HashEntry *hashPtr;
|
|
int isNew;
|
|
|
|
|