** Assumes X is an array of 16 ints.
** The macro revx reverses the byte-ordering of the next word of X.
*/
- void MDreverse(X)
+static void MDreverse(X)
unsigned int32 *X;
{ register unsigned int32 t;
register unsigned int i;
if (count == 0 && MDp->done) return;
/* check to see if MD is already done and report error */
if (MDp->done)
- { fprintf(FERROR,"\nError: MDupdate MD already done."); return; }
+ { rprintf(FERROR,"\nError: MDupdate MD already done."); return; }
/* Add count to MDp->count */
tmp = count;
p = MDp->count;
/* Process data */
if (count == 512)
{ /* Full block of data to handle */
- MDblock(MDp,(unsigned int *)X);
+ MDblock(MDp,(unsigned int32 *)X);
}
else if (count > 512) /* Check for count too large */
- { fprintf(FERROR,"\nError: MDupdate called with illegal count value %d."
+ { rprintf(FERROR,"\nError: MDupdate called with illegal count value %d."
,count);
return;
}