aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/sprofil.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/sprofil.c')
-rw-r--r--sysdeps/posix/sprofil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/sprofil.c b/sysdeps/posix/sprofil.c
index 0af671d001..0a3d1a8e50 100644
--- a/sysdeps/posix/sprofil.c
+++ b/sysdeps/posix/sprofil.c
@@ -269,7 +269,6 @@ int
__sprofil (struct prof *profp, int profcnt, struct timeval *tvp,
unsigned int flags)
{
- struct prof *p[profcnt];
struct itimerval timer;
struct sigaction act;
int i;
@@ -295,6 +294,7 @@ __sprofil (struct prof *profp, int profcnt, struct timeval *tvp,
return 0;
}
+ struct prof *p[profcnt];
prof_info.num_regions = 0;
prof_info.region = NULL;
prof_info.overflow = &default_overflow_region;