diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/ss/ChangeLog | 8 | ||||
| -rw-r--r-- | src/util/ss/cmd_tbl.lex.l | 4 | ||||
| -rw-r--r-- | src/util/ss/ct.y | 5 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/util/ss/ChangeLog b/src/util/ss/ChangeLog index c4ca07767..726f4205f 100644 --- a/src/util/ss/ChangeLog +++ b/src/util/ss/ChangeLog @@ -1,3 +1,11 @@ +Tue Aug 30 21:30:18 1994 Theodore Y. Ts'o (tytso at tsx-11) + + * cmd_tbl.lex.l: Add declaration for strdup() if HAS_STRDUP is not + defined. + + * ct.y: Added #include of string.h; added declaration for + strdup() if HAS_STRDUP is not defined. + Tue Jul 19 20:27:59 1994 Tom Yu (tlyu at dragons-lair) * Makefile.in: remove spurious includes rules diff --git a/src/util/ss/cmd_tbl.lex.l b/src/util/ss/cmd_tbl.lex.l index 2f413a8af..166f76deb 100644 --- a/src/util/ss/cmd_tbl.lex.l +++ b/src/util/ss/cmd_tbl.lex.l @@ -34,6 +34,10 @@ end return l_end(); #include "ct.tab.h" #include "mit-sipb-copyright.h" +#ifndef HAS_STRDUP +extern char *strdup(); +#endif + extern char *last_token; static l_command_table() diff --git a/src/util/ss/ct.y b/src/util/ss/ct.y index 6ad5dfcec..f1941fc84 100644 --- a/src/util/ss/ct.y +++ b/src/util/ss/ct.y @@ -5,8 +5,13 @@ * For copyright info, see mit-sipb-copyright.h. */ #include <stdio.h> +#include <string.h> #include "mit-sipb-copyright.h" +#ifndef HAS_STRDUP +extern char *strdup(); +#endif + char *str_concat3(), *generate_rqte(), *quote(); long flag_value(); char *last_token = (char *)NULL; |
