CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2025/05/13 09:16:43
Modified files: sys/sys : cdefs.h Log message: Make __pure macro use the __pure__ attribute, not __const__ The __const__ attribute is more restrictive than __pure__ in that it is generally not safe to dereference a pointer passed to the function. The only consumers of __pure in our tree _do_ dereference pointers so should be using __pure__. This makes us consistent with FreeBSD and NetBSD. Comment adapted from NetBSD. OK kettenis@