blob: 0a3ab58161d3a41ddc7f31f91284031c48829a18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.3 2022/12/09 14:13:00 vins Exp $
Don't make own declaration of strdup().
--- tildepath.c.orig 2000-09-01 15:34:51.000000000 +0000
+++ tildepath.c
@@ -38,7 +38,6 @@ T* AUTHOR
#include <stdio.h>
#include <stdlib.h>
#include <pwd.h>
-#include <malloc.h>
#include <string.h>
/*
@@ -71,8 +70,6 @@ char *path; /* Path starting with ~ */
* Functions
*/
- /* char *strdup(); */ /* Make a copy of a path */
-
/*
* If the path doesn't start with ~ quit right now
*/
|