VirtualBox

Ignore:
Timestamp:
Aug 9, 2016 2:25:27 PM (8 years ago)
Author:
vboxsync
Message:

dtrace: warnings (gcc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/dtrace.c

    r63129 r63207  
    356356}
    357357
     358#ifndef VBOX
    358359static char **
    359360make_argv(char *s)
     
    376377        return (argv);
    377378}
     379#endif /* !VBOX */
    378380
    379381static void
     
    12541256        /* Reinstall signal handler. Seems MSVCRT is System V style. */
    12551257        signal(signo, intr);
     1258#else
     1259        RT_NOREF(signo);
    12561260#endif
    12571261}
     
    17151719         * may been affected by any library options set by the second pass.
    17161720         */
    1717 #ifndef VBOX
     1721# ifndef VBOX
    17181722        for (optind = 1; optind < argc; optind++) {
    17191723                while ((c = getopt(argc, argv, DTRACE_OPTSTR)) != EOF) {
    1720 #else
     1724# else
    17211725        RTGetOptInit(&GetState, argc, argv, g_aOptions, RT_ELEMENTS(g_aOptions), 1, 0);
    17221726        while ((c = RTGetOpt(&GetState, &ValueUnion))) {
    17231727                {
    17241728                        char *optarg = (char *)ValueUnion.psz;
    1725 #endif
     1729# endif
    17261730                        switch (c) {
    17271731                        case 'c':
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