Project

General

Profile

Actions

Bug #6201

closed

cleanup issues between sys/ctype.h and sys/kobj_lex.h when both included

Added by Richard PALO almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2015-09-03
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

kobj_lex.h cannot coexist with sys/ctype.h

Restructure kobj_lex.h to use sys/ctype.h for the primary macros/functions
adding ISPRINT/isprint to ctype.h for good measure.

Also, gcc complains about static functions declared but not used
if not declared static "inline"... so this is fixed with __GCC_INLINE added.

Actions #1

Updated by Richard PALO almost 6 years ago

  • Subject changed from cleanup namespace pollution between sys/ctype.h and sys/kobj_lex.h to cleanup issues between sys/ctype.h and sys/kobj_lex.h when both included
Actions #2

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 6b1aed11aada50610fd9f5a9e033c24ca7ee5f0c

commit  6b1aed11aada50610fd9f5a9e033c24ca7ee5f0c
Author: Richard PALO <richard@NetBSD.org>
Date:   2015-09-21T15:13:25.000Z

    6201 cleanup issues between sys/ctype.h and sys/kobj_lex.h when both included
    Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF