Eliminated global variable getl_buf
[pspp-builds.git] / src / language / line-buffer.h
index 25845ca836d03cd957f806fcf000aecfbdecf50b..ee3db55905f1507c7e8807a902164533d82deed4 100644 (file)
@@ -31,9 +31,6 @@ enum getl_prompt_style
     GETL_PROMPT_CNT
   };
 
-/* Current line.  This line may be modified by modules other than
-   getl.c, and by lexer.c in particular.  (Ugh.) */
-extern struct string getl_buf;
 
 void getl_initialize (void);
 void getl_uninitialize (void);
@@ -66,5 +63,7 @@ void get_msg_location (struct msg_locator *loc);
 
 void getl_location (const char **fn, int *ln);
 
+bool do_read_line (struct string *line, bool *interactive);
+
 
 #endif /* line-buffer.h */