mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
26 lines
618 B
Plaintext
26 lines
618 B
Plaintext
$NetBSD: patch-aa,v 1.2 2008/08/30 08:25:27 dholland Exp $
|
|
|
|
--- tildepath.c.orig 1998-03-29 16:08:21.000000000 -0500
|
|
+++ tildepath.c 2008-08-30 04:18:54.000000000 -0400
|
|
@@ -37,7 +37,6 @@ static char SccsId[] = { "@(#) tildepath
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <pwd.h>
|
|
-#include <malloc.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
|
|
@@ -68,12 +67,6 @@ char *path; /* Path starting with ~ */
|
|
int size; /* Length of new path */
|
|
|
|
/*
|
|
- * Functions
|
|
- */
|
|
-
|
|
- char *strdup(); /* Make a copy of a path */
|
|
-
|
|
- /*
|
|
* If the path doesn't start with ~ quit right now
|
|
*/
|
|
|