Initial revision
[official-gcc.git] / gcc / f / runtime / libF77 / ef1asc_.c
bloba922a1d9ba9d87e35d47954c771850718164d546
1 /* EFL support routine to copy string b to string a */
3 #include "f2c.h"
6 #define M ( (long) (sizeof(long) - 1) )
7 #define EVEN(x) ( ( (x)+ M) & (~M) )
9 #ifdef KR_headers
10 extern VOID s_copy();
11 G77_ef1asc_0 (a, la, b, lb) ftnint *a, *b; ftnlen *la, *lb;
12 #else
13 extern void s_copy(char*,char*,ftnlen,ftnlen);
14 int G77_ef1asc_0 (ftnint *a, ftnlen *la, ftnint *b, ftnlen *lb)
15 #endif
17 s_copy( (char *)a, (char *)b, EVEN(*la), *lb );
18 #ifdef __cplusplus
19 return 0;
20 #endif