From a2d9b44d69c3cf5e79edb43b7db6c22c84f403ad Mon Sep 17 00:00:00 2001 From: Andy Cedilnik <andy.cedilnik@kitware.com> Date: Fri, 30 Dec 2005 14:23:36 -0500 Subject: COMP: Remove warnings by exposing some variables --- Utilities/cmtar/compat/basename.c | 1 + Utilities/cmtar/compat/dirname.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Utilities/cmtar/compat/basename.c b/Utilities/cmtar/compat/basename.c index ddaf89d..f44d414 100644 --- a/Utilities/cmtar/compat/basename.c +++ b/Utilities/cmtar/compat/basename.c @@ -29,6 +29,7 @@ #ifndef lint static char rcsid[] = "$OpenBSD: basename.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; +const char* libtar_compat_basename_getrcsid() { return rcsid; } #endif /* not lint */ #include <errno.h> diff --git a/Utilities/cmtar/compat/dirname.c b/Utilities/cmtar/compat/dirname.c index f05a381..aff4cb3 100644 --- a/Utilities/cmtar/compat/dirname.c +++ b/Utilities/cmtar/compat/dirname.c @@ -29,6 +29,7 @@ #ifndef lint static char rcsid[] = "$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $"; +const char* libtar_compat_dirname_getrcsid() { return rcsid; } #endif /* not lint */ #include <errno.h> -- cgit v0.12