summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@flirble.org>2003-12-18 14:03:59 +0000
committerRichard Clamp <richard@unixbeard.net>2003-12-18 14:03:59 +0000
commit14d589b1faa9ed5bac8a2e2e0deb50520f8d11d1 (patch)
tree019ee1119df0f815161e6d92e39de9499e5e8574
parent6df641312193f264b0dd5534f6d44b045c33add8 (diff)
downloadperl-14d589b1faa9ed5bac8a2e2e0deb50520f8d11d1.tar.gz
[committer's note: 'patch from nwc']
git-svn-id: https://svn.unixbeard.net/richardc/perl/perl-1@1902 c56e198b-7db7-0310-b3ab-8e406f684e33
-rw-r--r--makedepend.SH4
-rw-r--r--stab.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 8a9d426294..3652477ad5 100644
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -88,6 +88,10 @@ for file in `$cat .clist`; do
-e '}'
$cpp -I/usr/local/include -I. $file.c | \
$sed \
+ -e '/^#.*<stdin>/d' \
+ -e '/^#.*<builtin>/d' \
+ -e '/^#.*<built-in>/d' \
+ -e '/^#.*<command line>/d' \
-e '/^# *[0-9]/!d' \
-e 's/^.*"\(.*\)".*$/'$filebase'.o: \1/' \
-e 's|: \./|: |' \
diff --git a/stab.c b/stab.c
index 95064504d9..aef137cea7 100644
--- a/stab.c
+++ b/stab.c
@@ -13,6 +13,7 @@
*/
#include <signal.h>
+#include <errno.h>
#include "handy.h"
#include "EXTERN.h"
#include "search.h"
@@ -67,8 +68,6 @@ static char *sig_name[] = {
,0
};
-extern int errno;
-
STR *
stab_str(stab)
STAB *stab;