pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

avoid using "close" as function name


From: Ben Pfaff
Subject: avoid using "close" as function name
Date: Sun, 18 Mar 2007 18:22:06 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

I checked this in:

2007-03-18  Ben Pfaff  <address@hidden>

        * syntax-string-source.c (close): Rename to do_close to avoid
        conflict with POSIX function of the same name.

--- syntax-string-source.c.~1.3.~       2007-02-09 07:06:58.000000000 -0800
+++ syntax-string-source.c      2007-03-18 18:20:28.000000000 -0700
@@ -60,7 +60,7 @@ location (const struct getl_interface *i
 
 
 static void
-close (struct getl_interface *i )
+do_close (struct getl_interface *i )
 {
   struct syntax_string_source *sss = (struct syntax_string_source *) i;
 
@@ -116,7 +116,7 @@ create_syntax_string_source (const char 
   va_end (args);
 
   sss->parent.interactive = always_false;
-  sss->parent.close = close;
+  sss->parent.close = do_close;
   sss->parent.read = read_single_line;
 
   sss->parent.name = name;


-- 
Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)
        -- Linus Torvalds




reply via email to

[Prev in Thread] Current Thread [Next in Thread]