]> granicus.if.org Git - graphviz/commitdiff
- no more username in output.
authorellson <devnull@localhost>
Thu, 12 Feb 2009 17:47:24 +0000 (17:47 +0000)
committerellson <devnull@localhost>
Thu, 12 Feb 2009 17:47:24 +0000 (17:47 +0000)
- creator always "graphviz"
- pass in lt_preload_symbols from code using libgvc - avoiding problems with --enable-static
- clean out various bits of dead code

lib/common/diagen.c
lib/common/hpglgen.c
lib/common/mifgen.c
lib/common/mpgen.c
lib/common/picgen.c

index b5e8f59239c2e43b031b7fd4ac12a8b1b642a236..f31dc7958c860106224ee05dc392faf94bd4bb91 100644 (file)
@@ -304,8 +304,7 @@ static void dia_comment(char *str)
 }
 
 static void
-dia_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user,
-             char *info[], point pages)
+dia_begin_job(FILE * ofp, graph_t * g, const char **lib, char *info[], point pages)
 {
 #if HAVE_LIBZ
     int fd;
index c1943c7f8ca2c606b9ea9b823a584da2ff4ba40b..38ef395b5bedfe7d6788aa54518d1fd0556c6808 100644 (file)
@@ -397,8 +397,7 @@ static void hpgl_reset(void)
 }
 
 static void
-hpgl_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user,
-              char *info[], point pages)
+hpgl_begin_job(FILE * ofp, graph_t * g, const char **lib, char *info[], point pages)
 {
     /* Pages = pages; */
     N_pages = pages.x * pages.y;
index 0e50486bc6167bcd59c3a1fbd92e969085341999..6531e57d314a752646ff997135aa15d18e723fa2 100644 (file)
@@ -148,15 +148,13 @@ static void mif_comment(char *str)
 }
 
 static void
-mif_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user,
-             char *info[], point pages)
+mif_begin_job(FILE * ofp, graph_t * g, const char **lib, char *info[], point pages)
 {
     /* Pages = pages; */
     N_pages = pages.x * pages.y;
     fprintf(Output_file,
            "<MIFFile 3.00> # Generated by %s version %s (%s)\n", info[0],
            info[1], info[2]);
-    fprintf(Output_file, "# For: %s\n", user);
     fprintf(Output_file, "# Title: %s\n", agnameof(g));
     fprintf(Output_file, "# Pages: %d\n", N_pages);
     fprintf(Output_file, "<Units Upt>\n");
index 673f806bb0694d0cc7ba308224510f95cde63647..9e4474c9981b58c9b3e6f7cdd93f5564b7478a8c 100644 (file)
@@ -94,8 +94,7 @@ static void mp_cat_libfile(FILE * ofp, const char **arglib, const char **stdlib)
 }
 
 static void
-mp_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user, char *info[],
-            point pages)
+mp_begin_job(FILE * ofp, graph_t * g, const char **lib, char *info[], point pages)
 {
     /* pages and libraries not here (yet?) */
     /* Pages = pages; */
@@ -106,7 +105,6 @@ mp_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user, char *info[]
     fprintf(Output_file, "%%--- graphviz MetaPost input\n");
     fprintf(Output_file, "%% Created by program: %s version %s (%s)\n",
            info[0], info[1], info[2]);
-    fprintf(Output_file, "%% For user: %s\n", user);
     fprintf(Output_file, "%% Title: %s\n", agnameof(g));
     fprintf(Output_file,
            "%%  Put this between beginfig and endfig.  See 1st_read.mp.\n");
index 500b739a103db5cde3bc9efd92d13b96ee1e931c..9597b0dd8626ee68c34d3d7b6097283007291fd9 100644 (file)
@@ -159,8 +159,7 @@ static void pic_reset(void)
     onetime = TRUE;
 }
 
-static void pic_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user,
-                         char *info[], point pages)
+static void pic_begin_job(FILE * ofp, graph_t * g, const char **lib, char *info[], point pages)
 {
     /* U_lib = lib; */
     if (onetime && (pages.x * pages.y > 1)) {
@@ -169,7 +168,6 @@ static void pic_begin_job(FILE * ofp, graph_t * g, const char **lib, char *user,
     }
     fprintf(Output_file, "%s Creator: %s version %s (%s)\n",
            EscComment, info[0], info[1], info[2]);
-    fprintf(Output_file, "%s For: %s\n", EscComment, user);
     fprintf(Output_file, "%s Title: %s\n", EscComment, agnameof(g));
 }