summaryrefslogtreecommitdiff
path: root/src/dfuse_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dfuse_mem.c')
-rw-r--r--src/dfuse_mem.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dfuse_mem.c b/src/dfuse_mem.c
index a91aacf..867b443 100644
--- a/src/dfuse_mem.c
+++ b/src/dfuse_mem.c
@@ -19,6 +19,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -156,7 +160,8 @@ struct memsegment *parse_memory_layout(char *intf_desc)
memtype = multiplier;
break;
}
- /* fallthrough if memtype was already set */
+ /* if memtype was already set: */
+ /* fall-through */
default:
warnx("Non-valid multiplier '%c', "
"assuming bytes", multiplier);