summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/plural-exp.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-10-16 10:54:18 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:03 +0200
commit93f7f8a0eee7fbc94f116587e1dcc95a8849adb3 (patch)
treeef56022ed1bde6c37361dfca3f65f9d8801f6f38 /gettext-runtime/intl/plural-exp.h
parent8baec33a32c22b01755b900f30d82e8a885f2cb4 (diff)
downloadexternal_gettext-93f7f8a0eee7fbc94f116587e1dcc95a8849adb3.zip
external_gettext-93f7f8a0eee7fbc94f116587e1dcc95a8849adb3.tar.gz
external_gettext-93f7f8a0eee7fbc94f116587e1dcc95a8849adb3.tar.bz2
Assume ANSI C.
Diffstat (limited to 'gettext-runtime/intl/plural-exp.h')
-rw-r--r--gettext-runtime/intl/plural-exp.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/gettext-runtime/intl/plural-exp.h b/gettext-runtime/intl/plural-exp.h
index 9e5d165..49e2c5b 100644
--- a/gettext-runtime/intl/plural-exp.h
+++ b/gettext-runtime/intl/plural-exp.h
@@ -1,5 +1,5 @@
/* Expression parsing and evaluation for plural form selection.
- Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 2000-2003 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@cygnus.com>, 2000.
This program is free software; you can redistribute it and/or modify it
@@ -20,14 +20,6 @@
#ifndef _PLURAL_EXP_H
#define _PLURAL_EXP_H
-#ifndef PARAMS
-# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
-# define PARAMS(args) args
-# else
-# define PARAMS(args) ()
-# endif
-#endif
-
#ifndef internal_function
# define internal_function
#endif
@@ -109,18 +101,18 @@ struct parse_args
# define EXTRACT_PLURAL_EXPRESSION extract_plural_expression
#endif
-extern void FREE_EXPRESSION PARAMS ((struct expression *exp))
+extern void FREE_EXPRESSION (struct expression *exp)
internal_function;
-extern int PLURAL_PARSE PARAMS ((void *arg));
+extern int PLURAL_PARSE (void *arg);
extern struct expression GERMANIC_PLURAL attribute_hidden;
-extern void EXTRACT_PLURAL_EXPRESSION PARAMS ((const char *nullentry,
- struct expression **pluralp,
- unsigned long int *npluralsp))
+extern void EXTRACT_PLURAL_EXPRESSION (const char *nullentry,
+ struct expression **pluralp,
+ unsigned long int *npluralsp)
internal_function;
#if !defined (_LIBC) && !defined (IN_LIBINTL)
-extern unsigned long int plural_eval PARAMS ((struct expression *pexp,
- unsigned long int n));
+extern unsigned long int plural_eval (struct expression *pexp,
+ unsigned long int n);
#endif
#endif /* _PLURAL_EXP_H */