char2hex: whitespace cleanup

This commit is contained in:
Vince Weaver 2016-12-08 23:04:56 -05:00
parent 2f482f68aa
commit 1e90deb41c

View File

@ -3,15 +3,14 @@
#include "version.h"
int main(int argc, char **argv) {
int input;
while(1) {
input=fgetc(stdin);
if (input==EOF) break;
printf("$%02X,",input|0x80);
}
return 0;
int input;
while(1) {
input=fgetc(stdin);
if (input==EOF) break;
printf("$%02X,",input|0x80);
}
return 0;
}