VirtualBox

Changeset 3491 in kBuild


Ignore:
Timestamp:
Dec 23, 2020 1:57:44 PM (4 years ago)
Author:
bird
Message:

kmk: Darwin build and warning fixes.

Location:
trunk/src/kmk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/configure.ac

    r3281 r3491  
    122122  [ac_cv_func_gettimeofday=no
    123123   AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <sys/time.h>
     124                  #include <stdlib.h> /* kmk/darwin: for exit */
    124125                  int main ()
    125126                  {
  • trunk/src/kmk/function.c

    r3415 r3491  
    71087108  struct nameseq *cur;
    71097109  int const stop = MAP_DIRSEP;
     7110  (void)funcname;
    71107111
    71117112  for (cur = chain; cur; cur = cur->next)
     
    71457146  struct nameseq *cur;
    71467147  int const stop = MAP_DIRSEP | MAP_DOT;
     7148  (void)funcname;
    71477149
    71487150  /* For suffixes we do a pre-pass that removes elements without suffixes.
  • trunk/src/kmk/getopt.c

    r3140 r3491  
    206206extern char *getenv ();
    207207#endif
    208 #endif /* !KMK */
     208#else /* KMK */
     209# include <stdlib.h>
     210#endif /* KMK */
    209211
    210212static char *
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette