including ctype.h?
From: Nate Lawson (nate_at_root.org)
Date: 08/07/03
- Previous message: Kevin Oberman: "Re: ACPI battery state and resume not working on Inspiron 5150"
- Next in thread: John Baldwin: "RE: including ctype.h?"
- Reply: John Baldwin: "RE: including ctype.h?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 7 Aug 2003 07:33:37 -0700 (PDT) To: current@freebsd.org
The header for acpi (acfreebsd.h) defines "strupr" which is just toupper()
in a loop. For the _KERNEL case, we include sys/ctype.h. For the
!_KERNEL case, I added #include <ctype.h> but this results in an error
while building biosacpi.c in sys/boot/libi386. I believe this is because
the boot blocks are built using boot/libstand and it defines its own
toupper(). However, other user programs that use strupr() (the ACPI user
utilities) get a warning if ctype.h is not included.
What's the best way to proceed?
-Nate
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Kevin Oberman: "Re: ACPI battery state and resume not working on Inspiron 5150"
- Next in thread: John Baldwin: "RE: including ctype.h?"
- Reply: John Baldwin: "RE: including ctype.h?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|