Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all sources that are not system dependent to their standard places
Also unify all mkpkg.sf.*, since they are all equal, and become quite simple.
- Loading branch information
Showing
128 changed files
with
1,650 additions
and
8,794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. | ||
*/ | ||
|
||
#define import_spp | ||
#define import_knames | ||
#include <iraf.h> | ||
|
||
/* BYTMOV -- Byte move from array "a" to array "b". The move must be | ||
* nondestructive, allowing a byte array to be shifted left or right a | ||
* few bytes, hence comparison of the addresses of the arrays is necessary | ||
* to determine if they overlap. | ||
* [Specially optimized version for Sun/IRAF]. | ||
*/ | ||
BYTMOV (a, aoff, b, boff, nbytes) | ||
XCHAR *a; /* input byte array */ | ||
XINT *aoff; /* first byte in A to be moved */ | ||
XCHAR *b; /* output byte array */ | ||
XINT *boff; /* first byte in B to be written */ | ||
XINT *nbytes; /* number of bytes to move */ | ||
{ | ||
if ((a + *aoff) != (b + *boff)) | ||
memmove ((char *)b + (*boff-1), (char *)a + (*aoff-1), *nbytes); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.