]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
strfile.h: Define __PMT if not already defined.
authorUlrich Drepper <drepper@cygnus.com>
Mon, 17 Aug 1998 20:50:33 +0000 (20:50 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 17 Aug 1998 20:50:33 +0000 (14:50 -0600)

        * strfile.h: Define __PMT if not already defined.

From-SVN: r21811

libio/ChangeLog
libio/strfile.h

index 6a6ae3500d89492c8db820f2f602e585388eb5f3..dfd5299e0fac204a94b3fc0f11afff5abf661881 100644 (file)
@@ -1,3 +1,7 @@
+1998-08-17  Ulrich Drepper  <drepper@cygnus.com>
+
+       * strfile.h: Define __PMT if not already defined.
+
 1998-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
        * libioP.h: Use __PMT in typedefs.
index 5a33dca22d99ae67ce47371fa92ae10dc6fafe3c..85e83a95d0732c4fbe5681afbb9a0afbf1a6317b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU IO Library.
 
    This library is free software; you can redistribute it and/or
 Merge into  libio.h ?
 #endif
 
+#ifndef __PMT
+# ifdef __STDC__
+#  define __PMT(p) p
+# else
+#  define __PMT(p) ()
+# endif
+#endif /*!__P*/
+
 typedef void *(*_IO_alloc_type) __PMT ((_IO_size_t));
 typedef void (*_IO_free_type) __PMT ((void*));