From 60d2f8f3c7f1cdacafcbd60dc004e32cc90035ca Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 8 Jun 2013 00:22:23 +0000 Subject: Use (void) in no-arguments function definitions. --- login/getpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login/getpt.c') diff --git a/login/getpt.c b/login/getpt.c index d36e83684e..813e7acd10 100644 --- a/login/getpt.c +++ b/login/getpt.c @@ -22,7 +22,7 @@ /* Open the master side of a pseudoterminal and return its file descriptor, or -1 on error. */ int -__getpt () +__getpt (void) { __set_errno (ENOSYS); return -1; -- cgit v1.2.3