Fix yellows and checkwps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29328 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6d85de3419
commit
1e391fbdbc
5 changed files with 5 additions and 3 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "string-extra.h"
|
||||
#include "config.h"
|
||||
#include "misc.h"
|
||||
#include "system.h"
|
||||
#include "lcd.h"
|
||||
#include "file.h"
|
||||
#include "filefuncs.h"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
#include <stdbool.h>
|
||||
#include <inttypes.h>
|
||||
#include "config.h"
|
||||
#include "system.h"
|
||||
#include "screen_access.h"
|
||||
|
||||
extern const unsigned char * const byte_units[];
|
||||
|
|
|
@ -150,7 +150,7 @@ struct regs
|
|||
uint32_t start; /* 44 - Thread start address, or NULL when started */
|
||||
};
|
||||
#endif /* CONFIG_CPU */
|
||||
#elif (CONFIG_PLATFORM & PLATFORM_HOSTED)
|
||||
#elif (CONFIG_PLATFORM & PLATFORM_HOSTED) || defined(__PCTOOL__)
|
||||
#ifndef HAVE_SDL_THREADS
|
||||
struct regs
|
||||
{
|
||||
|
|
|
@ -2385,7 +2385,7 @@ void thread_get_name(char *buffer, int size,
|
|||
const char *fmt = "%s";
|
||||
if (name == NULL IF_COP(|| name == THREAD_DESTRUCT) || *name == '\0')
|
||||
{
|
||||
name = (const char *)(unsigned int)thread->id;
|
||||
name = (const char *)(uintptr_t)thread->id;
|
||||
fmt = "%04lX";
|
||||
}
|
||||
snprintf(buffer, size, fmt, name);
|
||||
|
|
2
tools/configure
vendored
2
tools/configure
vendored
|
@ -170,7 +170,9 @@ check_sigaltstack() {
|
|||
#include <signal.h>
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#ifndef NULL
|
||||
#define NULL (void*)0
|
||||
#endif
|
||||
sigaltstack(NULL, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue