Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
eaff7380
Commit
eaff7380
authored
Oct 04, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed __USE_XOPEN to _XOPEN_SOURCE and got rid of
some extra code.
parent
a1b609f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
21 deletions
+12
-21
cmd-line-utils/readline/complete.c
cmd-line-utils/readline/complete.c
+4
-7
cmd-line-utils/readline/display.c
cmd-line-utils/readline/display.c
+4
-7
cmd-line-utils/readline/mbutil.c
cmd-line-utils/readline/mbutil.c
+4
-7
No files found.
cmd-line-utils/readline/complete.c
View file @
eaff7380
...
@@ -21,14 +21,15 @@
...
@@ -21,14 +21,15 @@
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
#define READLINE_LIBRARY
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#include "config_readline.h"
#include "config_readline.h"
#include <sys/types.h>
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#include <fcntl.h>
#include <fcntl.h>
...
@@ -62,10 +63,6 @@ extern int errno;
...
@@ -62,10 +63,6 @@ extern int errno;
#include "rldefs.h"
#include "rldefs.h"
#include "rlmbutil.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
/* Some standard library routines. */
/* Some standard library routines. */
#include "readline.h"
#include "readline.h"
#include "xmalloc.h"
#include "xmalloc.h"
...
...
cmd-line-utils/readline/display.c
View file @
eaff7380
...
@@ -21,14 +21,15 @@
...
@@ -21,14 +21,15 @@
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
#define READLINE_LIBRARY
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#include "config_readline.h"
#include "config_readline.h"
#include <sys/types.h>
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#if defined (HAVE_UNISTD_H)
#if defined (HAVE_UNISTD_H)
# include <unistd.h>
# include <unistd.h>
...
@@ -48,10 +49,6 @@
...
@@ -48,10 +49,6 @@
#include "rldefs.h"
#include "rldefs.h"
#include "rlmbutil.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
/* Termcap library stuff. */
/* Termcap library stuff. */
#include "tcap.h"
#include "tcap.h"
...
...
cmd-line-utils/readline/mbutil.c
View file @
eaff7380
...
@@ -21,14 +21,15 @@
...
@@ -21,14 +21,15 @@
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
#define READLINE_LIBRARY
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#include "config_readline.h"
#include "config_readline.h"
#include <sys/types.h>
#include <sys/types.h>
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
/* To get SuSE 9.3 to define wcwidth() (in wchar.h) */
#ifndef __USE_XOPEN
#define __USE_XOPEN
#endif
#include <fcntl.h>
#include <fcntl.h>
#include "posixjmp.h"
#include "posixjmp.h"
...
@@ -50,10 +51,6 @@
...
@@ -50,10 +51,6 @@
#include "rldefs.h"
#include "rldefs.h"
#include "rlmbutil.h"
#include "rlmbutil.h"
#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
#if defined (TIOCSTAT_IN_SYS_IOCTL)
#if defined (TIOCSTAT_IN_SYS_IOCTL)
# include <sys/ioctl.h>
# include <sys/ioctl.h>
#endif
/* TIOCSTAT_IN_SYS_IOCTL */
#endif
/* TIOCSTAT_IN_SYS_IOCTL */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment