Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/sys



On Monday, December 2, 2002, at 07:24  AM, Matt Thomas wrote:


Module Name:    syssrc
Committed By:   matt
Date:           Sun Dec  1 21:24:29 UTC 2002

Modified Files:
        syssrc/sys/sys: ttydefaults.h

Log Message:
If TTYDEFCHARS is not defined, define ttydefchars as an extern so the
variable is defined, if not instantiated.

  This breaks building in lib/libcompat:

...
CC=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-gcc /usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-lint -chapbxzF -d /usr/dest/usr/include -DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__ -i /usr/src/lib/libcompat/4.1/gtty.c
/usr/dest/usr/include/sys/ttydefaults.h(99): syntax error [249]


  Even without lint, the compiler chokes on missing definitions of
NCCS and cc_t ...

  Cheers
      ,
   Rene




Home | Main Index | Thread Index | Old Index