]> code.delx.au - gnu-emacs/blobdiff - src/s/sol2-6.h
Merge from emacs-23; up to 2010-06-12T10:58:54Z!romain@orebokech.com.
[gnu-emacs] / src / s / sol2-6.h
index 4c6fd3e2f9b50fc70f8c10fea1792a94837b6530..3d9bd6ddafc772296aa08faa3149d472fe74041d 100644 (file)
@@ -44,7 +44,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define PTY_TTY_NAME_SPRINTF                   \
   {                                            \
-    char *ptsname (), *ptyname;                        \
+    char *ptsname (int), *ptyname;             \
                                                \
     sigblock (sigmask (SIGCLD));               \
     if (grantpt (fd) == -1)                    \
@@ -60,4 +60,3 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #define GC_SETJMP_WORKS 1
 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
-