summaryrefslogtreecommitdiff
path: root/libguile/options.h
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-08-31 11:17:06 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2001-08-31 11:17:06 +0000
commitb29058ffee392969b448f8157afaf370c17a736c (patch)
tree2b29b8ece42c1be983ed8842931e36bd4415434c /libguile/options.h
parent0527e6876338ba394366273351105d6622368da2 (diff)
downloadguile-b29058ffee392969b448f8157afaf370c17a736c.tar.gz
* Remove deprecated macros and typenames.
* Rename header macros to SCM_<filename>_H. * Prefer !SCM_<foo> over SCM_N<foo>.
Diffstat (limited to 'libguile/options.h')
-rw-r--r--libguile/options.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/libguile/options.h b/libguile/options.h
index f8b56ef68..98f21c464 100644
--- a/libguile/options.h
+++ b/libguile/options.h
@@ -1,19 +1,20 @@
/* classes: h_files */
-#ifndef OPTIONSH
-#define OPTIONSH
-/* Copyright (C) 1995,1996, 2000, 2001 Free Software Foundation
- *
+#ifndef SCM_OPTIONS_H
+#define SCM_OPTIONS_H
+
+/* Copyright (C) 1995,1996,2000,2001 Free Software Foundation, Inc.
+ *
* 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
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
@@ -45,6 +46,7 @@
*
* The author can be reached at djurfeldt@nada.kth.se
* Mikael Djurfeldt, SANS/NADA KTH, 10044 STOCKHOLM, SWEDEN */
+
#include "libguile/__scm.h"
@@ -64,9 +66,6 @@ typedef struct scm_t_option
char *doc;
} scm_t_option;
-#if (SCM_DEBUG_DEPRECATED == 0)
-# define scm_option scm_t_option
-#endif
#define SCM_OPTION_BOOLEAN 0
#define SCM_OPTION_INTEGER 1
@@ -77,7 +76,7 @@ extern SCM scm_options (SCM new_mode, scm_t_option options[], int n, const char
extern void scm_init_opts (SCM (*func) (SCM), scm_t_option options[], int n);
extern void scm_init_options (void);
-#endif /* OPTIONSH */
+#endif /* SCM_OPTIONS_H */
/*
Local Variables: