VirtualBox

Changeset 103141 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 31, 2024 3:03:29 PM (10 months ago)
Author:
vboxsync
Message:

Runtime: Some warning fixes about externally visible functions which should be static, bugref:3409

Location:
trunk/src/VBox/Runtime
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/alloc-ef.h

    r100313 r103141  
    7070 * encounter this, please fix the allocation to RTMemAllocVar or RTMemAllocZVar.
    7171 */
    72 #if 0
     72#if defined(RT_ARCH_ARM64)
    7373# define RTALLOC_EFENCE_ALIGNMENT       (ARCH_BITS / 8)
    7474#else
  • trunk/src/VBox/Runtime/r3/posix/semmutex-posix.cpp

    r98103 r103141  
    8181 * This function is a crude approximation of pthread_mutex_timedlock.
    8282 */
    83 int rtSemFallbackPthreadMutexTimedlock(pthread_mutex_t *mutex, RTMSINTERVAL cMillies)
     83static int rtSemFallbackPthreadMutexTimedlock(pthread_mutex_t *mutex, RTMSINTERVAL cMillies)
    8484{
    8585    struct timespec ts;
  • trunk/src/VBox/Runtime/testcase/tstRTArmv8.cpp

    r101613 r103141  
    5454
    5555
    56 const char *tobin(uint64_t uValue, unsigned cchWidth, char *pszBuf)
     56static const char *tobin(uint64_t uValue, unsigned cchWidth, char *pszBuf)
    5757{
    5858    char *psz = pszBuf;
     
    115115
    116116
    117 void tstLogicalMask32(void)
     117static void tstLogicalMask32(void)
    118118{
    119119    RTTestISub("32-bit logical masks");
     
    194194
    195195
    196 void tstLogicalMask64(void)
     196static void tstLogicalMask64(void)
    197197{
    198198    RTTestISub("64-bit logical masks");
  • trunk/src/VBox/Runtime/testcase/tstRTFsQueries.cpp

    r102647 r103141  
    5252} TestCtx = { 42, VINF_SUCCESS };
    5353
    54 DECLCALLBACK(int) mountpointsEnumCallback(const char *pszMountpoint, void *pvUser)
     54static DECLCALLBACK(int) mountpointsEnumCallback(const char *pszMountpoint, void *pvUser)
    5555{
    5656    TSTCTX *pCtx = (TSTCTX *)pvUser;
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