>>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?
Probably most. >or am I mising something? Only the initial value of the arg is determined at link/compile time. The arg can point to non-const storage, and it is not unreasonable to put the initial value in non-const storage so that it can be frobbed. Linker sets sometimes get frobbed. I once made execsw_set const and had to change it back after it started causing warnings. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message