-
Antoine Jacoutot authored
nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL conditional. Use G_N_ELEMENTS from GLib which is the proper way of doing this.
974212ec
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL conditional. Use G_N_ELEMENTS from GLib which is the proper way of doing this.