mescc: Add proper includes.
* include/libmes.h (__mes_debug): Declare. * lib/libtcc1.c: Add proper includes. * lib/linux+gnu.c: Likewise. * lib/m4.c: Likewise.
This commit is contained in:
parent
57cb608b6a
commit
58ca3ab6c0
|
@ -21,6 +21,7 @@
|
|||
#ifndef __MES_LIBMES_H
|
||||
#define __MES_LIBMES_H
|
||||
|
||||
int __mes_debug ();
|
||||
char const* number_to_ascii (int number, int base, int signed_p);
|
||||
char const* itoa (int number);
|
||||
char const* utoa (unsigned number);
|
||||
|
|
|
@ -32,7 +32,7 @@ isdigit (int c)
|
|||
int
|
||||
isxdigit (int c)
|
||||
{
|
||||
return isdigit (c) || c >= 'a' && c <= 'f';
|
||||
return isdigit (c) || (c >= 'a' && c <= 'f');
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
* along with Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <libmes.h>
|
||||
|
||||
double
|
||||
__divdi3 (double a, double b)
|
||||
{
|
||||
|
@ -112,15 +114,13 @@ __fixunsxfdi (double a1)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if __TINYC__ == 9227
|
||||
int
|
||||
#if __TINYC__ == 9226
|
||||
long
|
||||
#else
|
||||
long long
|
||||
#elif __TINYC__
|
||||
int
|
||||
#endif // __TINYC__ == 9226
|
||||
#endif // __TINYC__ == 9227
|
||||
#else // !__TINYCC_
|
||||
long long
|
||||
#endif // !__TINYCC_
|
||||
__fixdfdi (double a1)
|
||||
{
|
||||
static int stub = 0;
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#define SYS_fstat 0x6c
|
||||
#define SYS_nanosleep 0xa2
|
||||
|
||||
#include <sys/resource.h>
|
||||
|
||||
int
|
||||
link (char const *old_name, char const *new_name)
|
||||
|
|
Loading…
Reference in a new issue