summaryrefslogtreecommitdiff
path: root/src/udev/mtd_probe/mtd_probe.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-03-09 00:07:44 +0100
committerLennart Poettering <lennart@poettering.net>2015-03-09 18:02:22 +0100
commit885fdebc13b13307555e4b837fae604bcc4e72b4 (patch)
treee9159e91fd69d36a80aa10f927563583a49dbfdf /src/udev/mtd_probe/mtd_probe.c
parentdb93e063bdffe0a8b95fcc522aeacddf62d1a9f9 (diff)
tree-wide: use _packed_ macro instead of raw gcc __attribute__
Diffstat (limited to 'src/udev/mtd_probe/mtd_probe.c')
-rw-r--r--src/udev/mtd_probe/mtd_probe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/udev/mtd_probe/mtd_probe.c b/src/udev/mtd_probe/mtd_probe.c
index 13c757bd1c..67b750c4b3 100644
--- a/src/udev/mtd_probe/mtd_probe.c
+++ b/src/udev/mtd_probe/mtd_probe.c
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
-#include "mtd_probe.h"
+
#include <stdio.h>
#include <sys/ioctl.h>
#include <mtd/mtd-user.h>
@@ -26,6 +26,8 @@
#include <unistd.h>
#include <stdlib.h>
+#include "mtd_probe.h"
+
int main(int argc, char** argv)
{
int mtd_fd;