]> granicus.if.org Git - postgresql/commitdiff
1. Declaration
authorVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 18 Apr 1997 02:59:26 +0000 (02:59 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 18 Apr 1997 02:59:26 +0000 (02:59 +0000)
static const char *num_word(Cash value);
moved to cash.c.
2. 'extern ' added to funcs prototypes.

src/include/utils/cash.h

index 2cfb29313a302937bc6371cd8507f9915d476ca2..0461a5c251385918beec5f7036b2ecc6d4cc1b8c 100644 (file)
 
 typedef long int Cash;
 
-const char *cash_out(Cash *value);
-Cash *cash_in(const char *str);
-
-bool cash_eq(Cash *c1, Cash *c2);
-bool cash_ne(Cash *c1, Cash *c2);
-bool cash_lt(Cash *c1, Cash *c2);
-bool cash_le(Cash *c1, Cash *c2);
-bool cash_gt(Cash *c1, Cash *c2);
-bool cash_ge(Cash *c1, Cash *c2);
-
-Cash *cash_pl(Cash *c1, Cash *c2);
-Cash *cash_mi(Cash *c1, Cash *c2);
-Cash *cash_mul(Cash *c, float8 *f);
-Cash *cash_div(Cash *c, float8 *f);
-
-Cash *cashlarger(Cash *c1, Cash *c2);
-Cash *cashsmaller(Cash *c1, Cash *c2);
-
-const char *cash_words_out(Cash *value);
-static const char *num_word(Cash value);
+extern const char *cash_out(Cash *value);
+extern Cash *cash_in(const char *str);
+
+extern bool cash_eq(Cash *c1, Cash *c2);
+extern bool cash_ne(Cash *c1, Cash *c2);
+extern bool cash_lt(Cash *c1, Cash *c2);
+extern bool cash_le(Cash *c1, Cash *c2);
+extern bool cash_gt(Cash *c1, Cash *c2);
+extern bool cash_ge(Cash *c1, Cash *c2);
+
+extern Cash *cash_pl(Cash *c1, Cash *c2);
+extern Cash *cash_mi(Cash *c1, Cash *c2);
+extern Cash *cash_mul(Cash *c, float8 *f);
+extern Cash *cash_div(Cash *c, float8 *f);
+
+extern Cash *cashlarger(Cash *c1, Cash *c2);
+extern Cash *cashsmaller(Cash *c1, Cash *c2);
+
+extern const char *cash_words_out(Cash *value);
 
 #endif /* CASH_H */