Fix compilation error due to non-unix style line endings in cmos.layout file while...
[coreboot.git] / util / nvramtool / input_file.h
index 0912a6912aef917c3716b0e180318604e5c2031c..05d14de192b0d6330ded3a0f5c105025874ca1fc 100644 (file)
 
 typedef struct cmos_write_t cmos_write_t;
 
-/* This represents a pending CMOS write operation.  When changing multiple
- * CMOS parameter values, we first represent the changes as a list of pending
- * write operations.  This allows us to sanity check all write operations
- * before any of them are performed.
+/* This represents a pending CMOS write operation.  When changing
+ * multiple CMOS parameter values, we first represent the changes as a
+ * list of pending write operations.  This allows us to sanity check all
+ * write operations before any of them are performed.
  */
-struct cmos_write_t
{ unsigned bit;
-   unsigned length;
-   cmos_entry_config_t config;
-   unsigned long long value;
-   cmos_write_t *next;
- };
+struct cmos_write_t {
      unsigned bit;
+       unsigned length;
+       cmos_entry_config_t config;
+       unsigned long long value;
+       cmos_write_t *next;
+};
 
-cmos_write_t * process_input_file (FILE *f);
-void do_cmos_writes (cmos_write_t *list);
+cmos_write_t *process_input_file(FILE * f);
+void do_cmos_writes(cmos_write_t * list);
 
 extern const char assignment_regex[];
 
-#endif  /* INPUT_FILE_H */
+#endif                         /* INPUT_FILE_H */