Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1937299 Details for
Bug 2160043
tkgate: Build in C89 mode
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
tkgate-c99.patch
tkgate-c99.patch (text/plain), 2.11 KB, created by
Florian Weimer
on 2023-01-11 11:58:02 UTC
(
hide
)
Description:
tkgate-c99.patch
Filename:
MIME Type:
Creator:
Florian Weimer
Created:
2023-01-11 11:58:02 UTC
Size:
2.11 KB
patch
obsolete
>Include "yybasic.h" for a declaration of yyerror. Declare >various functions in the shared "tkgate.h" header file. > >This improves compatibility with future C99 compilers that do not >support implicit function declarations. > >diff --git a/src/tkgate/block.c b/src/tkgate/block.c >index d9893c64807bd723..0773fdd6c2785e4f 100644 >--- a/src/tkgate/block.c >+++ b/src/tkgate/block.c >@@ -21,6 +21,7 @@ > #include <string.h> > #include <unistd.h> > #include "tkgate.h" >+#include "yybasic.h" > > #define BLOCK_STUBLEN 15 > >diff --git a/src/tkgate/html.h b/src/tkgate/html.h >index 1c00dd288d2a05e3..e2d6d16a95d5d07c 100644 >--- a/src/tkgate/html.h >+++ b/src/tkgate/html.h >@@ -180,5 +180,7 @@ const char *Hyperlink_getAt(int x,int y); /* Return the hyperlink at the specifi > #define HtmlContext_fontAscent(hc) (hc)->hc_ascent > #define HtmlContext_fontDescent(hc) (hc)->hc_descent > >+void getFontName(char *fullName,fontfamily_t ff,fontprop_t fp,fontsize_t fs,int zoom); >+ > > #endif >diff --git a/src/tkgate/paux.c b/src/tkgate/paux.c >index b0ea978d836433a2..7c0c997702cdd016 100644 >--- a/src/tkgate/paux.c >+++ b/src/tkgate/paux.c >@@ -20,6 +20,7 @@ > #include <ctype.h> > #include <stdio.h> > #include "config.h" >+#include "tkgate.h" > #include "yybasic.h" > #include "vgrammar.h" > #include "vparser.h" >diff --git a/src/tkgate/tkgate.h b/src/tkgate/tkgate.h >index cf359526f54ada6d..c5a5a7aafcc14f02 100644 >--- a/src/tkgate/tkgate.h >+++ b/src/tkgate/tkgate.h >@@ -567,6 +567,9 @@ void Concat_updateAutos(GModuleDef *M,int doDraw); > void getLocaleSet(); > void localization_Setup(Tcl_Interp *tcl); > >+void FlagScrolling(void); >+void SwitchDip_getCompositeName(GCElement *g,char *compositeName); >+ > extern TkGateParams TkGate; > > extern int KANJIFONT_WIDTH; >diff --git a/src/tkgate/tkgatewin.c b/src/tkgate/tkgatewin.c >index 792be73c9c7d6ce5..fc2dd34ca970606e 100644 >--- a/src/tkgate/tkgatewin.c >+++ b/src/tkgate/tkgatewin.c >@@ -631,7 +631,7 @@ void FlagRedraw() > * action is performed. > * > *****************************************************************************/ >-void FlagScrolling() >+void FlagScrolling(void) > { > if (!TkGate.idle_ev.redraw) { > TkGate.idle_ev.redraw = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2160043
: 1937299