Skip to content

Commit

Permalink
remove dos line endings (dos2unix *)
Browse files Browse the repository at this point in the history
Signed-off-by: Hannes Schmelzer <[email protected]>
  • Loading branch information
Hannes Schmelzer committed Aug 20, 2018
1 parent eb8ce64 commit 7926a53
Show file tree
Hide file tree
Showing 17 changed files with 7,025 additions and 7,025 deletions.
34 changes: 17 additions & 17 deletions ax_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int callcmp (byte *call1, byte *call2)
//*************************************************************************
{
unsigned int i;


for (i = 5; i > 0; --i)
{
if (call1[i] != call2[i]) return 0;
Expand All @@ -56,7 +56,7 @@ int callwildcmp (byte *call1, byte *call2)
//*************************************************************************
{
unsigned int i;


for (i = 5; i > 0; --i)
{
if (call1[i] != call2[i] && call2[i] != ('?' << 1)) return 0;
Expand All @@ -74,7 +74,7 @@ void callasc (byte *rufz, char *buf)
//*************************************************************************
{
unsigned int i;


for (i = 0; i < 6; i++) if (rufz[i] > 0x40) *(buf++) = rufz[i] >> 1;
if ((rufz[6] & 0x1e) || *rufz == 0x40)
sprintf((char *) buf, "-%d", (rufz[6] & 0x1e) >> 1);
Expand All @@ -92,7 +92,7 @@ int callcmp1 (byte *call1, byte *call2)
//*************************************************************************
{
unsigned int i;


for (i = 5; i > 0; --i)
{
if (call1[i] != call2[i]) return FALSE;
Expand All @@ -110,7 +110,7 @@ int callord (byte *call1, byte *call2, int wildcard)
//*************************************************************************
{
unsigned int i;


if (! *call1) return HIGHER; // fuer binaeres Suchen erforderlich
for (i = 0; i < 6; i++)
{
Expand All @@ -136,7 +136,7 @@ void callcopy(byte *call1,byte *call2)
//*************************************************************************
{
unsigned int i;


for (i = 0; i < 7; i++) call2[i] = call1[i];
call2[6] = call2[6] & 0x7e; // etwaiges C- oder H-Bit loeschen
}
Expand Down Expand Up @@ -172,10 +172,10 @@ int ischannel (byte *call)

/*---------------------------------------------------------------------------*/

int readcall (char *bf, byte *axcall)
//*************************************************************************
//
//*************************************************************************
int readcall (char *bf, byte *axcall)
//*************************************************************************
//
//*************************************************************************
{
int i, j, k;

Expand Down Expand Up @@ -213,15 +213,15 @@ int readcall (char *bf, byte *axcall)
return i + blkill(bf + i);
}

/*---------------------------------------------------------------------------*/

int readclist (char *bf, byte *axlist, int maxanzahl)
//*************************************************************************
//
//*************************************************************************
/*---------------------------------------------------------------------------*/

int readclist (char *bf, byte *axlist, int maxanzahl)
//*************************************************************************
//
//*************************************************************************
{
int x = 0, z = 0, i = 0;


while (maxanzahl-- && (z = readcall(bf + x, axlist + i)) > 0)
{
x += z;
Expand Down
Loading

0 comments on commit 7926a53

Please sign in to comment.