diff place.h @ 176:a2f047301c15

Replace Joerg's place_setfile with something that at least sort of works.
author David A. Holland
date Fri, 12 Jun 2015 02:55:02 -0400
parents f14f5352956c
children 4c3375895c6e
line wrap: on
line diff
--- a/place.h	Fri Jun 12 02:38:04 2015 -0400
+++ b/place.h	Fri Jun 12 02:55:02 2015 -0400
@@ -47,16 +47,17 @@
 
 void place_init(void);
 void place_cleanup(void);
-const char *place_getname(const struct place *);
 
 void place_setnowhere(struct place *p);
 void place_setbuiltin(struct place *p, unsigned num);
 void place_setcommandline(struct place *p, unsigned word, unsigned column);
 void place_setfilestart(struct place *p, const struct placefile *pf);
-void place_setfile(struct place *p, const char *name);
 
+const char *place_getname(const struct place *);
 const char *place_getparsedir(const struct place *incplace);
 
+void place_changefile(struct place *p, const char *name);
+
 const struct placefile *place_addfile(const struct place *incplace,
 				      const char *name, bool fromsystemdir);