summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-04-13 19:28:57 (GMT)
committerBrad King <brad.king@kitware.com>2006-04-13 19:28:57 (GMT)
commit58d0c5e17670a61d7fb9b4be5978e1b29f801bb4 (patch)
treedb4ae3db70f2fd31d8c124f9b2f802fe96697aee /Tests
parentcae4e6b37a6ff7caf0748f2702fb503a9c95dcc8 (diff)
downloadCMake-58d0c5e17670a61d7fb9b4be5978e1b29f801bb4.zip
CMake-58d0c5e17670a61d7fb9b4be5978e1b29f801bb4.tar.gz
CMake-58d0c5e17670a61d7fb9b4be5978e1b29f801bb4.tar.bz2
COMP: Do not use ANSI function prototypes to pacify HP.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CustomCommand/wrapper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CustomCommand/wrapper.cxx b/Tests/CustomCommand/wrapper.cxx
index f65eb9b..3ad0794 100644
--- a/Tests/CustomCommand/wrapper.cxx
+++ b/Tests/CustomCommand/wrapper.cxx
@@ -8,11 +8,11 @@ int main(int argc, char *argv[])
return 1;
}
FILE *fp = fopen(argv[1],"w");
- fprintf(fp,"extern int wrapped_help(void);\n");
- fprintf(fp,"int wrapped(void) { return wrapped_help(); }\n");
+ fprintf(fp,"extern int wrapped_help();\n");
+ fprintf(fp,"int wrapped() { return wrapped_help(); }\n");
fclose(fp);
fp = fopen(argv[2],"w");
- fprintf(fp,"int wrapped_help(void) { return 5; }\n");
+ fprintf(fp,"int wrapped_help() { return 5; }\n");
fclose(fp);
return 0;
}