Ignore:
Timestamp:
Sep 3, 2002, 8:17:46 PM (23 years ago)
Author:
umoeller
Message:

Minor adjustments for new static handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dosh2.c

    r200 r222  
    368368 */
    369369
    370 static APIRET CopyToBuffer(PSZ pszTarget,      // out: target buffer
     370STATIC APIRET CopyToBuffer(PSZ pszTarget,      // out: target buffer
    371371                           PCSZ pcszSource,    // in: source string
    372372                           ULONG cbTarget)     // in: size of target buffer
     
    485485 */
    486486
    487 static APIRET FindFile(const char *pcszCommand,      // in: command (e.g. "lvm")
     487STATIC APIRET FindFile(const char *pcszCommand,      // in: command (e.g. "lvm")
    488488                       PSZ pszExecutable,            // out: full path (e.g. "F:\os2\lvm.exe")
    489489                       ULONG cbExecutable)           // in: sizeof (*pszExecutable)
     
    785785 */
    786786
    787 static APIRET AppendPartition(PARTITIONINFO **pppiFirst,
     787STATIC APIRET AppendPartition(PARTITIONINFO **pppiFirst,
    788788                              PARTITIONINFO **pppiThis,    // in/out: partition info; pointer will be advanced
    789789                              PUSHORT posCount,            // in/out: partition count
     
    916916 */
    917917
    918 static USHORT GetCyl(USHORT rBeginSecCyl)
     918STATIC USHORT GetCyl(USHORT rBeginSecCyl)
    919919{
    920920    return (   (rBeginSecCyl & 0x00C0) << 2)
     
    931931 */
    932932
    933 static USHORT GetSec(USHORT rBeginSecCyl)
     933STATIC USHORT GetSec(USHORT rBeginSecCyl)
    934934{
    935935    return rBeginSecCyl & 0x003F;
     
    10181018 */
    10191019
    1020 static APIRET GetPrimaryPartitions(PARTITIONINFO **pppiFirst,
     1020STATIC APIRET GetPrimaryPartitions(PARTITIONINFO **pppiFirst,
    10211021                                   PARTITIONINFO **pppiThis,
    10221022                                   PUSHORT posCount,       // in/out: partition count
     
    11051105 */
    11061106
    1107 static APIRET GetLogicalDrives(PARTITIONINFO **pppiFirst,
     1107STATIC APIRET GetLogicalDrives(PARTITIONINFO **pppiFirst,
    11081108                               PARTITIONINFO **pppiThis,
    11091109                               PUSHORT posCount,
     
    11941194 */
    11951195
    1196 static APIRET GetExtendedPartition(PARTITIONINFO **pppiFirst,
     1196STATIC APIRET GetExtendedPartition(PARTITIONINFO **pppiFirst,
    11971197                                   PARTITIONINFO **pppiThis,
    11981198                                   PUSHORT posCount,
     
    12391239 */
    12401240
    1241 static APIRET ReadFDiskPartitions(PARTITIONINFO **ppPartitionInfos,
     1241STATIC APIRET ReadFDiskPartitions(PARTITIONINFO **ppPartitionInfos,
    12421242                                  USHORT *pcPartitions,
    12431243                                  PUSHORT pusContext)              // out: error context
     
    13121312 */
    13131313
    1314 static VOID CleanPartitionInfos(PPARTITIONINFO ppiThis)
     1314STATIC VOID CleanPartitionInfos(PPARTITIONINFO ppiThis)
    13151315{
    13161316    while (ppiThis)
     
    20192019 */
    20202020
    2021 static BOOL PerformMatch(PCSZ pMask,
     2021STATIC BOOL PerformMatch(PCSZ pMask,
    20222022                         PCSZ pName,
    20232023                         int fHasDot)
Note: See TracChangeset for help on using the changeset viewer.