summaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-02-10 18:52:30 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-02-10 18:52:30 +0000
commit4066521792092268b75b1a76123753e55d254f82 (patch)
tree4317447416e217ff2944a00169c9cf4fea051f95 /gprof/gprof.c
parent0440d338dea55abfad92715d88886f81b69ccb5a (diff)
downloadbinutils-redhat-4066521792092268b75b1a76123753e55d254f82.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index db6dd9a5cc..f73a503e1d 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 **));