diff place.h @ 13:120629a5d6bf

seenfile -> placefile (clearer)
author David A. Holland
date Sun, 19 Dec 2010 19:49:43 -0500
parents 6c15ca895585
children 5045b9678bb0
line wrap: on
line diff
--- a/place.h	Sun Dec 19 19:39:26 2010 -0500
+++ b/place.h	Sun Dec 19 19:49:43 2010 -0500
@@ -7,7 +7,7 @@
 };
 struct place {
 	enum places type;
-	struct seenfile *file;
+	const struct placefile *file;
 	unsigned line;
 	unsigned column;
 };
@@ -19,4 +19,5 @@
 void place_setbuiltin(struct place *p, unsigned num);
 void place_setcommandline(struct place *p, unsigned word);
 
-struct seenfile *place_seen_file(const struct place *p, char *name, bool fromsystemdir);
+const struct placefile *place_addfile(const struct place *incplace,
+				      const char *name, bool fromsystemdir);