Browse Source

ps.map: read_from_keyboard() renamed to read_instructions()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@45585 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 14 years ago
parent
commit
e96e997bb6
3 changed files with 10 additions and 10 deletions
  1. 4 4
      ps/ps.map/local_proto.h
  2. 2 2
      ps/ps.map/main.c
  3. 4 4
      ps/ps.map/read_key.c

+ 4 - 4
ps/ps.map/local_proto.h

@@ -198,10 +198,10 @@ int set_paper(char *);
 void reset_map_location(void);
 void print_papers(void);
 
-/* read_key.c */
-void read_from_keyboard(FILE *, struct PS_data *, int, int, int,
-			struct scalebar *, int *, int *,
-			struct PS_group *);
+/* r_instructions.c */
+void read_instructions(FILE *, struct PS_data *, int, int, int,
+		       struct scalebar *, int *, int *,
+		       struct PS_group *);
 
 /* r_border.c */
 int read_border(void);

+ 2 - 2
ps/ps.map/main.c

@@ -245,8 +245,8 @@ int main(int argc, char *argv[])
     G_get_set_window(&PS.w);
     Rast_set_window(&PS.w);
 
-    read_from_keyboard(inputfd, &PS, copies_set, ps_copies, can_reset_scale,
-		       &sb, &do_mapinfo, &do_vlegend, &grp);
+    read_instructions(inputfd, &PS, copies_set, ps_copies, can_reset_scale,
+		      &sb, &do_mapinfo, &do_vlegend, &grp);
     
     /* reset map location base on 'paper' on 'location' */
     reset_map_location();

+ 4 - 4
ps/ps.map/read_key.c

@@ -27,10 +27,10 @@ static char *help[] = {
     ""
 };
 
-void read_from_keyboard(FILE *inputfd, struct PS_data *PS,
-			int copies_set, int ps_copies, int can_reset_scale,
-			struct scalebar *sb, int *do_mapinfo, int *do_vlegend,
-			struct PS_group *grp)
+void read_instructions(FILE *inputfd, struct PS_data *PS,
+		       int copies_set, int ps_copies, int can_reset_scale,
+		       struct scalebar *sb, int *do_mapinfo, int *do_vlegend,
+		       struct PS_group *grp)
 {
     int i;
     int iflag;