view 3rdparty/packages/ed/deflt.c @ 1427:b3868abe1fee

Rearrangement of directories and files for making bootable 6809/6309 MV disks
author boisy
date Tue, 02 Dec 2003 22:35:55 +0000
parents bef1844de0dc
children
line wrap: on
line source

/*      deflt.c */
#include <stdio.h>
#include "tools.h"
#include "ed.h"

int deflt(def1, def2)
int def1, def2;
{
  if (nlines == 0) {
        line1 = def1;
        line2 = def2;
  }
  if (line1 > line2 || line1 <= 0) return(ERR);
  return(0);
}