Browse Source

Fix whitespace

master
Aaron Marcher 8 years ago
parent
commit
e213b48122
  1. 2
      components/ram.c
  2. 2
      components/temperature.c
  3. 2
      components/wifi.c

2
components/ram.c

@ -80,7 +80,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#define LOG1024 10 #define LOG1024 10
#define pagetok(size, pageshift) (size_t)(size << (pageshift - LOG1024)) #define pagetok(size, pageshift) (size_t)(size << (pageshift - LOG1024))
inline int inline int

2
components/temperature.c

@ -11,7 +11,7 @@
{ {
uintmax_t temp; uintmax_t temp;
if(pscanf(file, "%ju", &temp) != 1) { if (pscanf(file, "%ju", &temp) != 1) {
return NULL; return NULL;
} }

2
components/wifi.c

@ -32,7 +32,7 @@
} }
p = fgets(status, 5, fp); p = fgets(status, 5, fp);
fclose(fp); fclose(fp);
if(!p || strcmp(status, "up\n") != 0) { if (!p || strcmp(status, "up\n") != 0) {
return NULL; return NULL;
} }

Loading…
Cancel
Save