diff options
author | kristerw <kristerw> | 2005-01-22 16:05:37 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2005-01-22 16:05:37 +0000 |
commit | 5ed28703f7e0314715eddca0c33d954ca46a9f4e (patch) | |
tree | 6426a0c77aa23f3ede9c202267746c7e2d709c16 /security/dirmngr | |
parent | 269b00482783f3cab11f86fec06e94d63dc79657 (diff) | |
download | pkgsrc-5ed28703f7e0314715eddca0c33d954ca46a9f4e.tar.gz |
Fix C99-isms to make this pkg build with gcc 2.95.
Diffstat (limited to 'security/dirmngr')
-rw-r--r-- | security/dirmngr/files/runDirmngr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/dirmngr/files/runDirmngr.c b/security/dirmngr/files/runDirmngr.c index 6c4f21ed8f9..ddb4f1d5c08 100644 --- a/security/dirmngr/files/runDirmngr.c +++ b/security/dirmngr/files/runDirmngr.c @@ -103,6 +103,8 @@ int main (int argc, char **argv ) { /* We're the child */ + char *args[MAX_ARGS]; + unsigned int i; if (!obtainUIDandGID(DIRMNGR_USER, &UID, &GID)) exit(-1); @@ -127,8 +129,6 @@ int main (int argc, char **argv ) } /* Build calling argv */ - char *args[MAX_ARGS]; - unsigned int i; args[0] = DIRMNGR_PATH; for (i=1;i<argc;i++) { |