diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-10 18:52:30 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-10 18:52:30 +0000 |
commit | 82fe033f4cc7acfa367258cd367c6dba4ad04cca (patch) | |
tree | 6056646e4f525e469097230b0b9c35bc2418544e /gprof/gprof.c | |
parent | 408f8db182e9d020b5ba2af7d650314ddba1eb84 (diff) | |
download | gdb-82fe033f4cc7acfa367258cd367c6dba4ad04cca.zip gdb-82fe033f4cc7acfa367258cd367c6dba4ad04cca.tar.gz gdb-82fe033f4cc7acfa367258cd367c6dba4ad04cca.tar.bz2 |
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* gprof.c: Include "getopt.h" after other includes, so that
the proper macros are defined.
* gen-c-prog.awk: Emit a prototype for the generated function.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r-- | gprof/gprof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index db6dd9a..f73a503 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -16,7 +16,6 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#include "getopt.h" #include "libiberty.h" #include "gprof.h" #include "search_list.h" @@ -32,6 +31,7 @@ #include "hist.h" #include "sym_ids.h" #include "demangle.h" +#include "getopt.h" static void usage PARAMS ((FILE *, int)) ATTRIBUTE_NORETURN; int main PARAMS ((int, char **)); |