summaryrefslogtreecommitdiffstats
path: root/sbin/devfs
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-06-02 23:02:31 +0000
committerstefanf <stefanf@FreeBSD.org>2004-06-02 23:02:31 +0000
commit2e7a36072a677527a8fe4a9d748811cae4b689e2 (patch)
treead6dbfaf0680f1ad82c8f8ce05d8fddaf3ae6855 /sbin/devfs
parent4bd9617d60a6bf1614ec12fecc67a704393b41fa (diff)
downloadFreeBSD-src-2e7a36072a677527a8fe4a9d748811cae4b689e2.zip
FreeBSD-src-2e7a36072a677527a8fe4a9d748811cae4b689e2.tar.gz
Typedefing an array of incomplete structs is non-standard C code.
Approved by: das (mentor)
Diffstat (limited to 'sbin/devfs')
-rw-r--r--sbin/devfs/extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devfs/extern.h b/sbin/devfs/extern.h
index d2c38ac..a9f8d22 100644
--- a/sbin/devfs/extern.h
+++ b/sbin/devfs/extern.h
@@ -37,11 +37,11 @@ struct intstr {
};
typedef int (command_t)(int, char **);
-typedef struct cmd ctbl_t[];
struct cmd {
const char *name;
command_t *handler;
};
+typedef struct cmd ctbl_t[];
command_t rule_main, ruleset_main;
OpenPOWER on IntegriCloud