VirtualBox

Changeset 45016 in vbox


Ignore:
Timestamp:
Mar 13, 2013 12:43:29 PM (12 years ago)
Author:
vboxsync
Message:

VBoxGuestR0LibSharedFolders.c: nits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR0LibSharedFolders.c

    r45015 r45016  
    2828#ifndef VBGL_VBOXGUEST
    2929
     30/*******************************************************************************
     31*   Header Files                                                               *
     32*******************************************************************************/
    3033#define LOG_GROUP LOG_GROUP_SHARED_FOLDERS
    31 
    3234#ifdef RT_OS_LINUX
    3335# include "VBoxGuestR0LibSharedFolders.h"
    34 # define DbgPrint RTAssertMsg2Weak
    3536#else
    3637# include "VBoxGuestR0LibSharedFolders.h"
     
    4243#include <iprt/string.h>
    4344
     45
     46/*******************************************************************************
     47*   Defined Constants And Macros                                               *
     48*******************************************************************************/
    4449#define SHFL_CPARMS_SET_UTF8 0
    4550#define SHFL_CPARMS_SET_SYMLINKS 0
     
    5459
    5560
     61
    5662DECLVBGL(int) vboxInit (void)
    5763{
     
    7278    VBoxGuestHGCMConnectInfo data;
    7379
     80    pClient->handle = NULL;
     81
    7482    RT_ZERO(data);
    75 
    76     pClient->handle = NULL;
    77 
    7883    data.result   = VINF_SUCCESS;
    7984    data.Loc.type = VMMDevHGCMLoc_LocalHost_Existing;
     
    108113
    109114    RT_ZERO(data);
    110 
    111115    data.result      = VINF_SUCCESS;
    112116    data.u32ClientID = pClient->ulClientID;
     
    121125
    122126DECLVBGL(int) vboxCallQueryMappings (PVBSFCLIENT pClient, SHFLMAPPING paMappings[],
    123                            uint32_t *pcMappings)
     127                                     uint32_t *pcMappings)
    124128{
    125129    int rc = VINF_SUCCESS;
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