diff options
author | Bruno Haible <bruno@clisp.org> | 2003-12-07 12:39:58 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:11:27 +0200 |
commit | ac768f92ce1f97e0b765c7e4e54839da8728aa1b (patch) | |
tree | 1de3a7cf9de5567fcce5d8c93f472ca951418627 /gettext-tools/tests | |
parent | 4719d5392e4856abe1c82a3fd07cc07d53604855 (diff) | |
download | external_gettext-ac768f92ce1f97e0b765c7e4e54839da8728aa1b.zip external_gettext-ac768f92ce1f97e0b765c7e4e54839da8728aa1b.tar.gz external_gettext-ac768f92ce1f97e0b765c7e4e54839da8728aa1b.tar.bz2 |
Use ANSI C function declaration syntax.
Diffstat (limited to 'gettext-tools/tests')
-rw-r--r-- | gettext-tools/tests/ChangeLog | 5 | ||||
-rwxr-xr-x | gettext-tools/tests/lang-c | 4 | ||||
-rwxr-xr-x | gettext-tools/tests/lang-objc | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index bb2c7bb..050727d 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2003-12-05 Bruno Haible <bruno@clisp.org> + + * lang-c: Use ANSI C function declaration syntax. + * lang-objc: Likewise. + 2003-12-03 Bruno Haible <bruno@clisp.org> * Makefile.am (TESTS_ENVIRONMENT): Add the gettext-runtime/src source diff --git a/gettext-tools/tests/lang-c b/gettext-tools/tests/lang-c index 52091c9..90ac388 100755 --- a/gettext-tools/tests/lang-c +++ b/gettext-tools/tests/lang-c @@ -17,9 +17,7 @@ cat <<\EOF > prog.c #include "xsetenv.h" #define _(string) gettext (string) -int main (argc, argv) - int argc; - char *argv[]; +int main (int argc, char *argv[]) { int n = atoi (argv[2]); diff --git a/gettext-tools/tests/lang-objc b/gettext-tools/tests/lang-objc index 44676b0..cc3280f 100755 --- a/gettext-tools/tests/lang-objc +++ b/gettext-tools/tests/lang-objc @@ -31,9 +31,7 @@ cat <<\EOF > prog.m #include "xsetenv.h" #define _(string) gettext (string) -int main (argc, argv) - int argc; - char *argv[]; +int main (int argc, char *argv[]) { int n = atoi (argv[2]); |