Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/lib fix missing prototypes.
details: https://anonhg.NetBSD.org/src/rev/90aae3706979
branches: trunk
changeset: 765003:90aae3706979
user: christos <christos%NetBSD.org@localhost>
date: Sun May 15 18:33:33 2011 +0000
description:
fix missing prototypes.
diffstat:
external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y | 2 ++
external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h | 1 +
external/cddl/osnet/dist/lib/libgen/common/gmatch.c | 1 +
3 files changed, 4 insertions(+), 0 deletions(-)
diffs (34 lines):
diff -r 302a0a9d1fb4 -r 90aae3706979 external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y Sun May 15 17:52:41 2011 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y Sun May 15 18:33:33 2011 +0000
@@ -34,6 +34,8 @@
#define LINK(l, r) dt_node_link(l, r)
#define DUP(s) strdup(s)
+int yylex(void);
+
%}
%union {
diff -r 302a0a9d1fb4 -r 90aae3706979 external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h Sun May 15 17:52:41 2011 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h Sun May 15 18:33:33 2011 +0000
@@ -586,6 +586,7 @@
extern void dt_difo_free(dtrace_hdl_t *, dtrace_difo_t *);
extern int dt_gmatch(const char *, const char *);
+extern int gmatch(const char *, const char *);
extern char *dt_basename(char *);
extern ulong_t dt_popc(ulong_t);
diff -r 302a0a9d1fb4 -r 90aae3706979 external/cddl/osnet/dist/lib/libgen/common/gmatch.c
--- a/external/cddl/osnet/dist/lib/libgen/common/gmatch.c Sun May 15 17:52:41 2011 +0000
+++ b/external/cddl/osnet/dist/lib/libgen/common/gmatch.c Sun May 15 18:33:33 2011 +0000
@@ -43,6 +43,7 @@
#include <libgen.h>
#include <stdlib.h>
#include <limits.h>
+#include <ctype.h>
#if defined(sun)
#include <widec.h>
#include "_range.h"
Home |
Main Index |
Thread Index |
Old Index