summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2012-12-06 10:33:16 +0000
committerespie <espie@openbsd.org>2012-12-06 10:33:16 +0000
commita1e76d221912e6858147a2e3f90c732f28896aa5 (patch)
treecfac3b6e2bb0787891c4ed9cf9bb5d6e4e508720
parentset port = NULL for new connctions, fixes crashes (diff)
downloadwireguard-openbsd-a1e76d221912e6858147a2e3f90c732f28896aa5.tar.xz
wireguard-openbsd-a1e76d221912e6858147a2e3f90c732f28896aa5.zip
old code is gone, remove comments and prototypes
-rw-r--r--usr.bin/make/suff.c4
-rw-r--r--usr.bin/make/suff.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c
index 87a5a7d1501..b41b5893dcd 100644
--- a/usr.bin/make/suff.c
+++ b/usr.bin/make/suff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: suff.c,v 1.82 2012/10/09 19:45:34 espie Exp $ */
+/* $OpenBSD: suff.c,v 1.83 2012/12/06 10:33:16 espie Exp $ */
/* $NetBSD: suff.c,v 1.13 1996/11/06 17:59:25 christos Exp $ */
/*
@@ -47,8 +47,6 @@
*
* Suff_AddSuffix Add the passed string as another known suffix.
*
- * Suff_GetPath Return the search path for the given suffix.
- *
* Suff_ParseAsTransform Line might be a suffix line, check it.
* If it's not, return NULL. Otherwise, add
* another transformation to the suffix graph.
diff --git a/usr.bin/make/suff.h b/usr.bin/make/suff.h
index 1f5e584579e..4f707fec0e1 100644
--- a/usr.bin/make/suff.h
+++ b/usr.bin/make/suff.h
@@ -1,6 +1,6 @@
#ifndef SUFF_H
#define SUFF_H
-/* $OpenBSD: suff.h,v 1.8 2012/10/09 19:45:34 espie Exp $ */
+/* $OpenBSD: suff.h,v 1.9 2012/12/06 10:33:16 espie Exp $ */
/*
* Copyright (c) 2001 Marc Espie.
@@ -32,7 +32,6 @@ extern GNode *Suff_ParseAsTransform(const char *, const char *);
struct Suff_;
extern void Suff_AddSuffixi(const char *, const char *);
extern void Suff_FindDeps(GNode *);
-extern void Suff_SetNulli(const char *, const char *);
extern void Suff_Init(void);
extern void process_suffixes_after_makefile_is_read(void);
extern Lst find_suffix_path(GNode *);