Commit fe2756bd authored by deuce's avatar deuce
Browse files

Remove _rotr().

parent 662f23a3
......@@ -4,6 +4,7 @@
#include "fidodefs.h"
#include "sbbsdefs.h" /* faddr_t */
#include "xpendian.h" /* swap */
FILE* nulfp;
FILE* bodyfp;
......@@ -86,7 +87,7 @@ int pktdump(FILE* fp, const char* fname)
printf("%s Packet Type ", fname);
if(pkthdr.fill.two_plus.cword==_rotr(pkthdr.fill.two_plus.cwcopy,8) /* 2+ Packet Header */
if(pkthdr.fill.two_plus.cword==BYTE_SWAP_16(pkthdr.fill.two_plus.cwcopy) /* 2+ Packet Header */
&& pkthdr.fill.two_plus.cword&1) {
fprintf(stdout,"2+");
dest.point=pkthdr.fill.two_plus.destpoint;
......@@ -212,4 +213,4 @@ int main(int argc, char** argv)
}
return(0);
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment