Changeset 862


Ignore:
Timestamp:
Nov 11, 2007, 7:14:10 AM (18 years ago)
Author:
Steven Levine
Message:

Get rid of statics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/undel.c

    r844 r862  
    1 #define INCL_DOS
    2 #define INCL_WIN
    31
    4 #include <os2.h>
     2/***********************************************************************
     3
     4  $Id$
     5
     6  File undelete applet
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2007 Steven H. Levine
     10
     11  23 Sep 07 SHL Sync with standards
     12  23 Sep 07 SHL Get rid of statics
     13
     14***********************************************************************/
     15
    516#include <stdarg.h>
    617#include <stdio.h>
     
    819#include <string.h>
    920#include <ctype.h>
     21
     22#define INCL_DOS
     23#define INCL_WIN
     24#include <os2.h>
     25
    1026#include "dll\fm3dll.h"
    1127#include "dll\fm3dlg.h"
     
    1329int main(int argc, char *argv[])
    1430{
    15 
    1631  HAB hab;
    1732  HMQ hmq;
    1833  FILESTATUS3 fs;
    19   static CHAR fullname[CCHMAXPATH];
     34  CHAR fullname[CCHMAXPATH];
    2035  CHAR *thisarg = NULL;
    2136  INT x;
     
    4661                    HWND_DESKTOP,
    4762                    UndeleteDlgProc,
    48                     FM3ModHandle, UNDEL_FRAME, (PVOID) fullname);
     63                    FM3ModHandle,
     64                    UNDEL_FRAME,
     65                    fullname);
    4966        }
    5067        DosSleep(250);
Note: See TracChangeset for help on using the changeset viewer.