~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to routines/wsci/rdl-nw-test.c

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
/* Copyright (C) 1998 Chancelier Jean-Philippe */
 
2
/* Copyright (C) 1998-2002 Chancelier Jean-Philippe */
3
3
 
4
4
#include <stdio.h>
5
5
#include <stdlib.h>
6
 
extern char *readline_win (char *);
 
6
extern char *readline_win (char * , int);
7
7
 
8
8
main ()
9
9
{
11
11
  char *line;
12
12
  for (i = 0; i < 10; i++)
13
13
    {
14
 
      line = readline_win ("test");
 
14
      line = readline_win ("test",0);
15
15
      if (line != (char *) 0)
16
16
        {
17
17
          printf ("line %s\r\n", line);