summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/yasm/yasm-options.c21
-rw-r--r--frontends/yasm/yasm.c21
2 files changed, 4 insertions, 38 deletions
diff --git a/frontends/yasm/yasm-options.c b/frontends/yasm/yasm-options.c
index efe7882e..5eef8b24 100644
--- a/frontends/yasm/yasm-options.c
+++ b/frontends/yasm/yasm-options.c
@@ -1,4 +1,4 @@
-/* $IdPath$
+/*
* Generic Options Support Header File
*
* Copyright (c) 2001 Stanislav Karchebny <berk@madfire.net>
@@ -27,25 +27,8 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include "util.h"
-
-#include <stdio.h>
-
-#ifdef STDC_HEADERS
-# include <string.h>
-#endif
-
-#include <libintl.h>
-#define _(String) gettext(String)
-#ifdef gettext_noop
-#define N_(String) gettext_noop(String)
-#else
-#define N_(String) (String)
-#endif
+RCSID("$IdPath$");
#include "options.h"
#include "errwarn.h"
diff --git a/frontends/yasm/yasm.c b/frontends/yasm/yasm.c
index 45e76049..0b4d711f 100644
--- a/frontends/yasm/yasm.c
+++ b/frontends/yasm/yasm.c
@@ -1,4 +1,4 @@
-/* $IdPath$
+/*
* Program entry point, command line parsing
*
* Copyright (C) 2001 Peter Johnson
@@ -19,21 +19,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include "util.h"
+RCSID("$IdPath$");
-#include <stdio.h>
-
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-# include <string.h>
-#endif
-
-#include <libintl.h>
-#define _(String) gettext(String)
#ifdef gettext_noop
#define N_(String) gettext_noop(String)
#else
@@ -53,11 +41,6 @@
#include "preproc.h"
#include "parser.h"
-#ifdef DMALLOC
-# include <dmalloc.h>
-#endif
-
-RCSID("$IdPath$");
#ifndef countof
#define countof(x,y) (sizeof(x)/sizeof(y))