Fixed warning with Wstrict-prototypes issue #39

merge-requests/3/head
bzt 2 years ago
parent 9ec5d3fb32
commit ca2d3be488

@ -69,7 +69,7 @@ char *__argvutf8 = NULL;
#endif #endif
/* we only need one .o file, so use inline Assembly here */ /* we only need one .o file, so use inline Assembly here */
void bootstrap() void bootstrap(void)
{ {
__asm__ __volatile__ ( __asm__ __volatile__ (
/* call init in C */ /* call init in C */

@ -69,7 +69,7 @@ char *__argvutf8 = NULL;
#endif #endif
/* we only need one .o file, so use inline Assembly here */ /* we only need one .o file, so use inline Assembly here */
void bootstrap() void bootstrap(void)
{ {
__asm__ __volatile__ ( __asm__ __volatile__ (
/* call init in C */ /* call init in C */

@ -1300,7 +1300,7 @@ extern void free (void *__ptr);
extern void abort (void); extern void abort (void);
extern void exit (int __status); extern void exit (int __status);
/* exit Boot Services function. Returns 0 on success. */ /* exit Boot Services function. Returns 0 on success. */
extern int exit_bs(); extern int exit_bs(void);
extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar); extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar);
extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar); extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar);
extern int mblen (const char *__s, size_t __n); extern int mblen (const char *__s, size_t __n);

Loading…
Cancel
Save