Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
304dbca6
Commit
304dbca6
authored
Dec 09, 2016
by
Alexander Alashkin
Committed by
Cesanta Bot
Dec 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix miot-mbed errors and warning, part 3
PUBLISHED_FROM=2f6fb7ea5abdcd4ca9b06956172938ee3bc28459
parent
18ff0faf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
mongoose.c
mongoose.c
+1
-1
mongoose.h
mongoose.h
+6
-0
No files found.
mongoose.c
View file @
304dbca6
...
@@ -9485,7 +9485,7 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) {
...
@@ -9485,7 +9485,7 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) {
return
mg_match_prefix_n
(
pstr
,
mg_mk_str
(
str
));
return
mg_match_prefix_n
(
pstr
,
mg_mk_str
(
str
));
}
}
MG_INTERNAL
int
mg_get_errno
(
void
)
{
DO_NOT_WARN_UNUSED
MG_INTERNAL
int
mg_get_errno
(
void
)
{
#ifndef WINCE
#ifndef WINCE
return
errno
;
return
errno
;
#else
#else
...
...
mongoose.h
View file @
304dbca6
...
@@ -129,11 +129,13 @@
...
@@ -129,11 +129,13 @@
#define NOINLINE __attribute__((noinline))
#define NOINLINE __attribute__((noinline))
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#define NOINSTR __attribute__((no_instrument_function))
#define NOINSTR __attribute__((no_instrument_function))
#define DO_NOT_WARN_UNUSED __attribute__((unused))
#else
#else
#define NORETURN
#define NORETURN
#define NOINLINE
#define NOINLINE
#define WARN_UNUSED_RESULT
#define WARN_UNUSED_RESULT
#define NOINSTR
#define NOINSTR
#define DO_NOT_WARN_UNUSED
#endif
/* __GNUC__ */
#endif
/* __GNUC__ */
#ifndef ARRAY_SIZE
#ifndef ARRAY_SIZE
...
@@ -883,6 +885,10 @@ typedef struct stat cs_stat_t;
...
@@ -883,6 +885,10 @@ typedef struct stat cs_stat_t;
#include <stdint.h>
#include <stdint.h>
#include <string.h>
#include <string.h>
#include <time.h>
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
typedef
struct
stat
cs_stat_t
;
#ifndef CS_ENABLE_STDIO
#ifndef CS_ENABLE_STDIO
#define CS_ENABLE_STDIO 1
#define CS_ENABLE_STDIO 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment