mirror of
https://gitlab.com/bztsrc/posix-uefi
synced 2026-08-26 10:23:04 -04:00
Fixed warning with Wstrict-prototypes issue #39
This commit is contained in:
parent
9ec5d3fb32
commit
ca2d3be488
3 changed files with 3 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ char *__argvutf8 = NULL;
|
|||
#endif
|
||||
|
||||
/* we only need one .o file, so use inline Assembly here */
|
||||
void bootstrap()
|
||||
void bootstrap(void)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
/* call init in C */
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ char *__argvutf8 = NULL;
|
|||
#endif
|
||||
|
||||
/* we only need one .o file, so use inline Assembly here */
|
||||
void bootstrap()
|
||||
void bootstrap(void)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
/* call init in C */
|
||||
|
|
|
|||
|
|
@ -1300,7 +1300,7 @@ extern void free (void *__ptr);
|
|||
extern void abort (void);
|
||||
extern void exit (int __status);
|
||||
/* 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 qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar);
|
||||
extern int mblen (const char *__s, size_t __n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue