tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bridge(4): BRIDGE_MPSAFE by default and applying psref(9)



On Apr 15, 12:02pm, ozaki-r%netbsd.org@localhost (Ryota Ozaki) wrote:
-- Subject: Re: bridge(4): BRIDGE_MPSAFE by default and applying psref(9)

|   +#ifdef NET_MPSAFE
|   +       int s __unused;
|   +#else
|           int s;
|   +#endif
| 
| for each function. Is there another way to deal with the error?
| 

Maybe:

#ifdef NET_MPSAFE
#define DECLARE_LOCK_VARIABLE
#else
#define DECLARE_LOCK_VARIABLE int s
#endif

| Thank you for reviewing!

Thank you.

christos


Home | Main Index | Thread Index | Old Index