git: <sys/param.h>: Fix a typo in the NELEM() definition.

看板DFBSD_commit作者時間14年前 (2011/05/20 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit fa8f7852fe627febb1570324616a93454a1f4e33 Author: Sascha Wildner <saw@online.de> Date: Fri May 20 10:53:57 2011 +0200 <sys/param.h>: Fix a typo in the NELEM() definition. This way it resolves to sizeof(foo[0]) instead of sizeof(foo)[0]. Interestingly, both ways work and give the same results. But the former looks clearer. Summary of changes: sys/sys/param.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa8f7852fe627febb1570324616a93454a1f4e33 -- DragonFly BSD source repository
文章代碼(AID): #1DrYtJ2L (DFBSD_commit)