From c09f15298c46cc0a68ed276526c9ac7e93cea6a7 Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Mon, 16 Apr 2012 20:21:56 -0400 Subject: [PATCH] Reduce use of cdtext_private.h. Let's see if autoconf 2.61 (circa 6 years ago) is okay. Some MacBooks seem to still use this. --- configure.ac | 2 +- lib/driver/aix.c | 6 ++---- lib/driver/bsdi.c | 8 ++------ lib/driver/image/nrg.c | 4 +--- lib/driver/mmc/mmc.c | 3 +-- lib/driver/osx.c | 3 +-- lib/driver/solaris.c | 1 - 7 files changed, 8 insertions(+), 19 deletions(-) diff --git a/configure.ac b/configure.ac index 7c1d926b..1c385529 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ dnl 02110-1301 USA. define(RELEASE_NUM, 84) define(CDIO_VERSION_STR, 0.$1git) -AC_PREREQ(2.67) +AC_PREREQ(2.61) AC_INIT([libcdio], [CDIO_VERSION_STR(RELEASE_NUM)], [libcdio-help@gnu.org]) AC_CONFIG_SRCDIR(src/cd-info.c) diff --git a/lib/driver/aix.c b/lib/driver/aix.c index 4f4ec2d2..b23037f7 100644 --- a/lib/driver/aix.c +++ b/lib/driver/aix.c @@ -1,5 +1,6 @@ /* - Copyright (C) 2004, 2005, 2006, 2008, 2010, 2011 Rocky Bernstein + Copyright (C) 2004, 2005, 2006, 2008, 2010, 2011, 2012 + Rocky Bernstein This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,7 +18,6 @@ #ifdef HAVE_CONFIG_H # include "config.h" -# define __CDIO_CONFIG_H__ 1 #endif #ifdef HAVE_STRING_H @@ -35,8 +35,6 @@ #ifdef HAVE_AIX_CDROM -static const char _rcsid[] = "$Id: aix.c,v 1.3 2008/04/22 15:29:11 karl Exp $"; - #ifdef HAVE_GLOB_H #include #endif diff --git a/lib/driver/bsdi.c b/lib/driver/bsdi.c index 4c0a6ccb..d9ee9c27 100644 --- a/lib/driver/bsdi.c +++ b/lib/driver/bsdi.c @@ -1,7 +1,6 @@ /* - $Id: bsdi.c,v 1.15 2008/04/22 15:29:11 karl Exp $ - - Copyright (C) 2002, 2003, 2004, 2005, 2008 Rocky Bernstein + Copyright (C) 2002, 2003, 2004, 2005, 2008, 2012 + Rocky Bernstein Copyright (C) 2001 Herbert Valerio Riedel This program is free software: you can redistribute it and/or modify @@ -27,8 +26,6 @@ # define __CDIO_CONFIG_H__ 1 #endif -static const char _rcsid[] = "$Id: bsdi.c,v 1.15 2008/04/22 15:29:11 karl Exp $"; - #include #include #include @@ -57,7 +54,6 @@ static const char _rcsid[] = "$Id: bsdi.c,v 1.15 2008/04/22 15:29:11 karl Exp $" #include #include #include -#include "cdtext_private.h" #include /* This function is in the man page but seems to be missing from the diff --git a/lib/driver/image/nrg.c b/lib/driver/image/nrg.c index de942650..c36d4aeb 100644 --- a/lib/driver/image/nrg.c +++ b/lib/driver/image/nrg.c @@ -1,5 +1,5 @@ /* - Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2011 + Copyright (C) 2003, 2004, 2005, 2006, 2008, 2009, 2011, 2012 Rocky Bernstein Copyright (C) 2001, 2003 Herbert Valerio Riedel @@ -48,8 +48,6 @@ #include "nrg.h" #include "cdtext_private.h" -static const char _rcsid[] = "$Id: nrg.c,v 1.31 2008/04/21 18:30:22 karl Exp $"; - nero_id_t nero_id; nero_dtype_t nero_dtype; diff --git a/lib/driver/mmc/mmc.c b/lib/driver/mmc/mmc.c index 2022992e..236c8347 100644 --- a/lib/driver/mmc/mmc.c +++ b/lib/driver/mmc/mmc.c @@ -1,5 +1,5 @@ /* Common Multimedia Command (MMC) routines. - Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2011 + Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010, 2011, 2012 Rocky Bernstein This program is free software: you can redistribute it and/or modify @@ -18,7 +18,6 @@ #ifdef HAVE_CONFIG_H # include "config.h" -# define __CDIO_CONFIG_H__ 1 #endif #include diff --git a/lib/driver/osx.c b/lib/driver/osx.c index 167aa112..507e64a2 100644 --- a/lib/driver/osx.c +++ b/lib/driver/osx.c @@ -1,5 +1,5 @@ /* - Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2011 + Copyright (C) 2003, 2004, 2005, 2006, 2008, 2010, 2011, 2012 Rocky Bernstein from vcdimager code: Copyright (C) 2001 Herbert Valerio Riedel @@ -30,7 +30,6 @@ #ifdef HAVE_CONFIG_H # include "config.h" -# define __CDIO_CONFIG_H__ 1 #endif static const char _rcsid[] = "$Id: osx.c,v 1.14 2008/10/17 11:58:52 rocky Exp $"; diff --git a/lib/driver/solaris.c b/lib/driver/solaris.c index 05de900a..32554e4d 100644 --- a/lib/driver/solaris.c +++ b/lib/driver/solaris.c @@ -19,7 +19,6 @@ #ifdef HAVE_CONFIG_H # include "config.h" -# define __CDIO_CONFIG_H__ 1 #endif #ifdef HAVE_STRING_H