2 commits - boilerplate/check-link.c src/check-link.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun May 26 19:41:19 UTC 2024


 boilerplate/check-link.c |   17 -----------------
 src/check-link.c         |   17 -----------------
 2 files changed, 34 deletions(-)

New commits:
commit 9fcfdce2165534e48ab9a186e5c10996e7979ab6
Merge: a141cfdf5 5d67d28ff
Author: Uli Schlachter <psychon at znc.in>
Date:   Sun May 26 19:41:16 2024 +0000

    Merge branch 'remove-unused-files' into 'master'
    
    Remove two unused files
    
    See merge request cairo/cairo!560

commit 5d67d28ff0e1e8a6c067f464d02bffab95b84fa2
Author: Uli Schlachter <psychon at znc.in>
Date:   Sun May 26 07:14:57 2024 +0200

    Remove two unused files
    
    There are two check-link.c files which were "tests" in the autotools
    build and are unused ever since the autotools build was removed.
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/boilerplate/check-link.c b/boilerplate/check-link.c
deleted file mode 100644
index 688339a95..000000000
--- a/boilerplate/check-link.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <cairo-boilerplate.h>
-#include <stdio.h>
-
-int
-main (void)
-{
-  printf ("Check linking to the just built cairo boilerplate library\n");
-  if (cairo_boilerplate_version () == CAIRO_VERSION) {
-    return 0;
-  } else {
-    fprintf (stderr,
-	     "Error: linked to cairo boilerplate version %s instead of %s\n",
-	     cairo_boilerplate_version_string (),
-	     CAIRO_VERSION_STRING);
-    return 1;
-  }
-}
diff --git a/src/check-link.c b/src/check-link.c
deleted file mode 100644
index 2d943d644..000000000
--- a/src/check-link.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <cairo.h>
-#include <stdio.h>
-
-int
-main (void)
-{
-  printf ("Check linking to the just built cairo library\n");
-  if (cairo_version () == CAIRO_VERSION) {
-    return 0;
-  } else {
-    fprintf (stderr,
-	     "Error: linked to cairo version %s instead of %s\n",
-	     cairo_version_string (),
-	     CAIRO_VERSION_STRING);
-    return 1;
-  }
-}


More information about the cairo-commit mailing list