summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 19:23:36 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 19:23:36 (GMT)
commita2d9b44d69c3cf5e79edb43b7db6c22c84f403ad (patch)
tree93ff49348ace116ef66252e121109842783ed0cf
parent6d0f0e0acb95c23a476510726bf7c5fe6fb840bf (diff)
downloadCMake-a2d9b44d69c3cf5e79edb43b7db6c22c84f403ad.zip
CMake-a2d9b44d69c3cf5e79edb43b7db6c22c84f403ad.tar.gz
CMake-a2d9b44d69c3cf5e79edb43b7db6c22c84f403ad.tar.bz2
COMP: Remove warnings by exposing some variables
-rw-r--r--Utilities/cmtar/compat/basename.c1
-rw-r--r--Utilities/cmtar/compat/dirname.c1
2 files changed, 2 insertions, 0 deletions
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>