Module Name:    src
Committed By:   christos
Date:           Sun May 15 18:33:33 UTC 2011

Modified Files:
        src/external/cddl/osnet/dist/lib/libdtrace/common: dt_grammar.y
            dt_impl.h
        src/external/cddl/osnet/dist/lib/libgen/common: gmatch.c

Log Message:
fix missing prototypes.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y
cvs rdiff -u -r1.4 -r1.5 \
    src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h
cvs rdiff -u -r1.2 -r1.3 \
    src/external/cddl/osnet/dist/lib/libgen/common/gmatch.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y
diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y:1.1.1.1 src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y:1.2
--- src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y:1.1.1.1	Fri Feb 19 23:33:43 2010
+++ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_grammar.y	Sun May 15 14:33:33 2011
@@ -34,6 +34,8 @@
 #define	LINK(l, r)	dt_node_link(l, r)
 #define	DUP(s)		strdup(s)
 
+int yylex(void);
+
 %}
 
 %union {

Index: src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h
diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h:1.4 src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h:1.5
--- src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h:1.4	Mon Mar  1 06:19:40 2010
+++ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_impl.h	Sun May 15 14:33:33 2011
@@ -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);

Index: src/external/cddl/osnet/dist/lib/libgen/common/gmatch.c
diff -u src/external/cddl/osnet/dist/lib/libgen/common/gmatch.c:1.2 src/external/cddl/osnet/dist/lib/libgen/common/gmatch.c:1.3
--- src/external/cddl/osnet/dist/lib/libgen/common/gmatch.c:1.2	Sat Feb 20 19:49:55 2010
+++ src/external/cddl/osnet/dist/lib/libgen/common/gmatch.c	Sun May 15 14:33:33 2011
@@ -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"

Reply via email to