pkgsrc/chat/icb/patches/patch-bg
joerg 21320c5685 Teach the backbone of NetBSD communication some ISO C tricks.
- no errno, use errno.h
- no redefinition of function parameters as local variables
  [how did this ever work?!]
- malloc comes from stdlib.h
- NAME_MAX is prefered when available, it is POSIX
- strchr, strpbrk, strspn, strstr, strtol and strtoul can and
  should be used from libc.
- remove tcl version of string.h, system header is good enough
  (and if it doesn't have index, it would have been broken anyway)
2005-12-14 13:53:24 +00:00

13 lines
397 B
Text

$NetBSD: patch-bg,v 1.1 2005/12/14 13:53:24 joerg Exp $
--- tcl/tclGlob.c.orig 2005-12-13 16:51:11.000000000 +0000
+++ tcl/tclGlob.c
@@ -40,8 +40,6 @@ static char rcsid[] = "$Header: /home/ag
* grows dynamically to be as big as needed.
*/
-extern int errno;
-
typedef struct {
char *result; /* Pointer to result area. */
int totalSpace; /* Total number of characters allocated