241693628a
- errno from errno.h - calloc and malloc from stdlib.h - strdup from string.h
19 lines
450 B
Text
19 lines
450 B
Text
$NetBSD: patch-ae,v 1.2 2005/12/18 18:37:16 joerg Exp $
|
|
|
|
--- classes/access.c.orig 1994-10-05 05:20:44.000000000 +0000
|
|
+++ classes/access.c
|
|
@@ -1,4 +1,6 @@
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
+#include <string.h>
|
|
#include <ctype.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
@@ -92,7 +94,6 @@ AccessGroup
|
|
accessGroup_new ()
|
|
{
|
|
AccessGroup self;
|
|
- extern char* calloc();
|
|
|
|
self = (AccessGroup)calloc (1, sizeof (*self));
|
|
return self;
|