:
:>From my uderstanding, SYSINIT should always point to a function with a
:CONST argument because the argument is fixed as a constant at link/compile
:time.
:
:what functions don't expect a const? and why not?
:
:or am I mising something?
:
:julian

    Most of the functions do not expect a const argument, though that 
    may simply be because they didn't bother to use const when they
    could have.

    However, I know at least the MALLOC initialization objects *can't*
    use const objects because the malloc initialization routine modifies
    the data object.

    I'm sure that a non-trivial number of the sysinits also modify their
    data objects.  So we need to handle both cases.

                                        Matthew Dillon 
                                        <dil...@backplane.com>

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to