--- os2sdk/demos/apps/ds/ds.c 2018/08/09 12:25:13 1.1 +++ os2sdk/demos/apps/ds/ds.c 2018/08/09 12:26:02 1.1.1.2 @@ -6,10 +6,11 @@ * first time this program is called, it creates a new initialization file * and builds the display tree from the current directory. * +* +* Created by Microsoft Corp. 1986 */ #include - #include "ds.h" #include "vars.h" @@ -32,8 +33,8 @@ extern screenInit (); */ main (argc,argv,envp) int argc; -char *argv[]; -char *envp[]; +NPCH argv[]; +NPCH envp[]; { initialize (); if (root->d_child) { /* There is a tree to display */ @@ -41,7 +42,7 @@ char *envp[]; handleDisplay (root); } else { /* No tree */ - VIOSETCURPOS (WINDOW_TOP+2,0, VioHandle); /* Avoid scrolling error */ + VioSetCurPos (WINDOW_TOP+2,0, VioHandle); /* Avoid scrolling error */ fprintf (stderr, "\nNo subdirectories in this directory.\n"); exitError (2); }