summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-09-25 03:06:48 +0000
committerJim Meyering <jim@meyering.net>1994-09-25 03:06:48 +0000
commit0a2aca406d91370e4201953769a9e4d2f2e3bc25 (patch)
tree3d1549a8e46af924f3a811722528a0fa23d6a235
parent0676dd09e5a504b24a26bff1c24505061a3e3c0b (diff)
downloadgnulib-0a2aca406d91370e4201953769a9e4d2f2e3bc25.tar.gz
GNU shell utilitiesSHELLUTILS-1_10n
-rw-r--r--lib/getdate.y2
-rw-r--r--lib/strftime.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 1861c9c73c..851bd9a92f 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -112,7 +112,7 @@ static int yyerror ();
** An entry in the lexical lookup table.
*/
typedef struct _TABLE {
- char *name;
+ const char *name;
int type;
time_t value;
} TABLE;
diff --git a/lib/strftime.c b/lib/strftime.c
index 6d8ca0c53e..e73cb6f753 100644
--- a/lib/strftime.c
+++ b/lib/strftime.c
@@ -74,6 +74,10 @@
David MacKenzie <djm@gnu.ai.mit.edu> */
+#ifdef emacs
+#define CONFIG_BROKETS
+#endif
+
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation