~ubuntu-branches/ubuntu/jaunty/plotutils/jaunty

« back to all changes in this revision

Viewing changes to ode/lex.l

  • Committer: Bazaar Package Importer
  • Author(s): Floris Bruynooghe
  • Date: 2007-05-10 19:48:54 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070510194854-mrr3lgwzpxd8hovo
Tags: 2.5-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
%{
3
3
/*
4
4
 * Copyright Nicholas B. Tufillaro, 1982-1994. All rights reserved.
5
 
 * GNU enhancements copyright (C) 1996-1999 Free Software Foundation, Inc.
 
5
 *
 
6
 * GNU enhancements Copyright (C) 1996, 1997, 1998, 1999, 2005, Free 
 
7
 * Software Foundation, Inc.
6
8
 */
7
9
#include "sys-defines.h"
8
10
#include "ode.h"
117
119
 * space management for the lexer
118
120
 */
119
121
struct lex *
120
 
#ifdef _HAVE_PROTOS
121
122
lalloc (void)
122
 
#else
123
 
lalloc ()
124
 
#endif
125
123
{
126
124
  struct lex *lp;
127
125
  
132
130
}
133
131
 
134
132
void
135
 
#ifdef _HAVE_PROTOS
136
133
lfree (struct lex *lp)
137
 
#else
138
 
lfree (lp)
139
 
     struct lex *lp;
140
 
#endif
141
134
{
142
135
  if (lp != NULL)
143
 
    free ((voidptr_t)lp);
 
136
    free ((void *)lp);
144
137
}