/* -*-c-*-
*
- * $Id: xgetline.c,v 1.11 1999/08/20 07:30:33 mdw Exp $
+ * $Id: xgetline.c,v 1.12 2002/01/13 14:43:41 mdw Exp $
*
* Fetch a line of text from the user
*
/*----- Revision history --------------------------------------------------*
*
* $Log: xgetline.c,v $
+ * Revision 1.12 2002/01/13 14:43:41 mdw
+ * Kill some spurious warnings.
+ *
* Revision 1.11 1999/08/20 07:30:33 mdw
* Miscellaneous changes, mostly concerning options parsing.
*
const char *list = 0;
int histmax = 20;
- GList *hist;
+ GList *hist = 0;
- enum {
- f_invis = 1,
- f_duff = 2,
- f_history = 4,
- f_nochoice = 8
- };
+#define f_invis 1u
+#define f_duff 2u
+#define f_history 4u
+#define f_nochoice 8u
/* --- User interface bits --- */
* Inability to open the file is not a disaster.
*/
- hist = 0;
if (fp) {
dstr d = DSTR_INIT;