remove register var

This commit is contained in:
wangyu- 2018-08-29 14:32:45 -05:00
parent 6ccf6ce3dc
commit 4a1e01c5a5

@ -567,9 +567,9 @@ void setnonblocking(int sock) {
Generic checksum calculation function
*/
unsigned short csum(const unsigned short *ptr,int nbytes) {//works both for big and little endian
register long sum;
long sum;
unsigned short oddbyte;
register short answer;
short answer;
sum=0;
while(nbytes>1) {