mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix typo in a comment: DEFINE_CLASSx => DEFINE_CLASS_x.
MFC after: 1 week
This commit is contained in:
parent
6fa363774d
commit
9eb5ad2319
1 changed files with 3 additions and 3 deletions
|
|
@ -120,7 +120,7 @@ struct kobj_class classvar = { \
|
|||
/*
|
||||
* Define a class inheriting a single base class. Use like this:
|
||||
*
|
||||
* DEFINE_CLASS1(foo, foo_class, foo_methods, sizeof(foo_softc),
|
||||
* DEFINE_CLASS_1(foo, foo_class, foo_methods, sizeof(foo_softc),
|
||||
* bar);
|
||||
*/
|
||||
#define DEFINE_CLASS_1(name, classvar, methods, size, \
|
||||
|
|
@ -135,7 +135,7 @@ struct kobj_class classvar = { \
|
|||
/*
|
||||
* Define a class inheriting two base classes. Use like this:
|
||||
*
|
||||
* DEFINE_CLASS2(foo, foo_class, foo_methods, sizeof(foo_softc),
|
||||
* DEFINE_CLASS_2(foo, foo_class, foo_methods, sizeof(foo_softc),
|
||||
* bar, baz);
|
||||
*/
|
||||
#define DEFINE_CLASS_2(name, methods, size, \
|
||||
|
|
@ -151,7 +151,7 @@ struct kobj_class name ## _class = { \
|
|||
/*
|
||||
* Define a class inheriting three base classes. Use like this:
|
||||
*
|
||||
* DEFINE_CLASS3(foo, foo_class, foo_methods, sizeof(foo_softc),
|
||||
* DEFINE_CLASS_3(foo, foo_class, foo_methods, sizeof(foo_softc),
|
||||
* bar, baz, foobar);
|
||||
*/
|
||||
#define DEFINE_CLASS_3(name, methods, size, \
|
||||
|
|
|
|||
Loading…
Reference in a new issue