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 1937284 Details for
Bug 2160035
gt: 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]
gt-c99.patch
gt-c99.patch (text/plain), 1.50 KB, created by
Florian Weimer
on 2023-01-11 11:35:31 UTC
(
hide
)
Description:
gt-c99.patch
Filename:
MIME Type:
Creator:
Florian Weimer
Created:
2023-01-11 11:35:31 UTC
Size:
1.50 KB
patch
obsolete
>Include <ctype.h> for the isspace macro, and <string.h> for >memcpy and various *str functions. > >diff --git a/utils/patcat.c b/utils/patcat.c >index a0604ee6fb16c876..e55c12b75357bca6 100644 >--- a/utils/patcat.c >+++ b/utils/patcat.c >@@ -4,6 +4,7 @@ > /*#include <linux/ultrasound.h>*/ > /*#include <sys/ioctl.h>*/ > #include <stdlib.h> >+#include <string.h> > #include <strings.h> > #include <unistd.h> > #include <sys/types.h> >@@ -300,7 +301,7 @@ static void nullify_extras ( struct sample_header *sample) > sample->true_panning = 0; > } > >-main(int argc, char **argv) >+int main(int argc, char **argv) > { > int i, j, k, l, n, leftfd, rightfd, stereofd; > struct pat_header header; >diff --git a/utils/patinfo.c b/utils/patinfo.c >index 2a955dd01e914933..c478ff92470e958e 100644 >--- a/utils/patinfo.c >+++ b/utils/patinfo.c >@@ -8,6 +8,7 @@ > #include <unistd.h> > #include <fcntl.h> > #include <math.h> >+#include <string.h> > > typedef union { > unsigned char c[4]; >@@ -262,7 +263,7 @@ static void fix_sample_read(unsigned char *buf, struct sample_header *sample) > extern char *optarg; > extern int optind, opterr, optopt; > >-main(int argc, char **argv) >+int main(int argc, char **argv) > { > int c, i, j, k, l, n, patfd; > struct pat_header header; >diff --git a/utils/unsf.c b/utils/unsf.c >index 4403645add96932c..95be17a9bf6fcb40 100644 >--- a/utils/unsf.c >+++ b/utils/unsf.c >@@ -68,6 +68,7 @@ > #include <sys/stat.h> > #include <sys/types.h> > #include <endian.h> >+#include <ctype.h> > > #ifndef TRUE > #define TRUE -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 2160035
: 1937284 |
1937285