Files
sed/basicdefs.h
T
Paul Eggert 6d22645e41 sed: basicdefs.h cleanup
Also, remove EMX support, as EMX is no longer used.
* basicdefs.h: Don’t include stdbool.h;
the Gnulib bool module means it’s not needed any more.
(PATH_MAX): Remove; no longer used.
(initialize_main): Remove.  No longer needed now that we
no longer support EMX.  All uses removed.
* sed/execute.c (open_next_file):
* sed/utils.c (ck_fdopen): Remove EMX support.
2026-08-17 01:17:23 -07:00

32 lines
989 B
C

/* GNU SED, a batch stream editor.
Copyright (C) 1998-2026 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 program; If not, see <https://www.gnu.org/licenses/>. */
#ifndef BASICDEFS_H
#define BASICDEFS_H
#include <locale.h>
#include <gettext.h>
#define _(String) gettext(String)
#include "idx.h"
#include "xalloc.h"
#define obstack_chunk_alloc xzalloc
#define obstack_chunk_free free
#endif /*!BASICDEFS_H*/