Changeset 1241


Ignore:
Timestamp:
Oct 9, 2008, 1:12:04 PM (17 years ago)
Author:
John Small
Message:

Ticket 187: Make searchapath function non-static and other misc. code cleanup

Location:
trunk/dll
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.h

    r1225 r1241  
    1717#if !defined(NOTEBOOK_H)
    1818#define NOTEBOOK_H
    19 
    20 // #if !defined(OS2_INCLUDED)
    21 // #define INCL_LONGLONG
    22 // #include <os2.h>
    23 // #else
    24 // #if !defined(INCL_LONGLONG)
    25 // #error INCL_LONGLONG required by grep.h
    26 // #endif
    27 // #endif
    2819
    2920#include "dircnrs.h"            // typedef for DETAILS_SETTINGS
  • trunk/dll/pathutil.h

    r1199 r1241  
    2020#if !defined(OS2_INCLUDED)
    2121#include <os2.h>
    22 #else
    2322#endif
    2423
  • trunk/dll/presparm.h

    r1226 r1241  
    1616#define PRESPARM_H
    1717
    18 // PMBITMAP_INCLUDED - IBM Toolkit
    19 // INCL_GPIBITMAPS - OpenWatcom Toolkit
    20 // #if !defined(PMBITMAP_INCLUDED) && !defined(INCL_GPIBITMAPS)
    21 // typedef struct _RGB2         /* rgb2 */
    22 // {
    23 //   BYTE bBlue;                        /* Blue component of the color definition */
    24 //   BYTE bGreen;                       /* Green component of the color definition */
    25 //   BYTE bRed;                 /* Red component of the color definition  */
    26 //   BYTE fcOptions;            /* Reserved, must be zero                 */
    27 // }
    28 // RGB2;
    29 // typedef RGB2 *PRGB2;
    30 // #endif
    31 
    3218VOID CopyPresParams(HWND target, HWND source);
    3319VOID PresParamChanged(HWND hwnd, CHAR * keyroot, MPARAM mp1, MPARAM mp2);
  • trunk/dll/srchpath.c

    r1212 r1241  
    1212  20 Aug 07 GKY Move #pragma alloc_text to end for OpenWatcom compat
    1313  23 Aug 07 SHL Comments
     14  04 Oct 08 JBS Make searchapath non-static
    1415
    1516***********************************************************************/
     
    2425#include "fm3dlg.h"
    2526#include "fm3str.h"
     27#include "srchpath.h"
    2628#include "pathutil.h"                   // BldQuotedFileName
    2729#include "errutil.h"                    // Dos_Error...
    28 #include "srchpath.h"
    2930#include "systemf.h"                    // runemf2
    3031#include "notebook.h"                   // Data declaration(s)
     
    3334
    3435// static CHAR *first_path(CHAR * path, CHAR * ret);
    35 static CHAR *searchapath(CHAR * path, CHAR * filename);
    3636
    3737#pragma data_seg(DATA1)
  • trunk/dll/srchpath.h

    r1200 r1241  
    1111  Change log
    1212
     13  04 Oct 08 JBS Make searchapath function non-static
    1314***********************************************************************/
    1415
     
    1718
    1819INT RunFM2Util(CHAR *appname, CHAR *filename);
     20CHAR *searchapath(CHAR * path, CHAR * filename);
    1921CHAR *searchpath(CHAR * filename);
    2022
Note: See TracChangeset for help on using the changeset viewer.