Deleted Added
full compact
rlversion.c (119610) rlversion.c (157184)
1/*
2 * rlversion -- print out readline's version number
3 */
4
5/* Copyright (C) 1987-2002 Free Software Foundation, Inc.
6
7 This file is part of the GNU Readline Library, a library for
8 reading lines of text with interactive input and history editing.

--- 16 unchanged lines hidden (view full) ---

25#if defined (HAVE_CONFIG_H)
26# include <config.h>
27#endif
28
29#include <stdio.h>
30#include <sys/types.h>
31#include "posixstat.h"
32
1/*
2 * rlversion -- print out readline's version number
3 */
4
5/* Copyright (C) 1987-2002 Free Software Foundation, Inc.
6
7 This file is part of the GNU Readline Library, a library for
8 reading lines of text with interactive input and history editing.

--- 16 unchanged lines hidden (view full) ---

25#if defined (HAVE_CONFIG_H)
26# include <config.h>
27#endif
28
29#include <stdio.h>
30#include <sys/types.h>
31#include "posixstat.h"
32
33#ifdef HAVE_STDLIB_H
34# include <stdlib.h>
35#else
36extern void exit();
37#endif
38
33#ifdef READLINE_LIBRARY
34# include "readline.h"
35#else
36# include <readline/readline.h>
37#endif
38
39main()
40{
41 printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
42 exit (0);
43}
39#ifdef READLINE_LIBRARY
40# include "readline.h"
41#else
42# include <readline/readline.h>
43#endif
44
45main()
46{
47 printf ("%s\n", rl_library_version ? rl_library_version : "unknown");
48 exit (0);
49}