From c367dfd02c197b33e432f97d74351735f6242e12 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 9 Mar 2003 20:10:25 +0000 Subject: Do some minor reformatting of 'extern "C"' use throughout. * autoload.cc (GetSystemTimes): Define new autoload function. * fhandler_proc.cc (proc_listing): Add cpuinfo and partitions entries. (fhandler_proc::fill_filebuf): Add PROC_CPUINFO and PROC_PARTITIONS cases. (format_proc_uptime): Use GetSystemTimes if available. (read_value): New macro. (print): New macro. (cpuid): New function. (can_set_flag): New function. (format_proc_cpuinfo): New function. (format_proc_partitions): New function. --- winsup/cygwin/fcntl.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'winsup/cygwin/fcntl.cc') diff --git a/winsup/cygwin/fcntl.cc b/winsup/cygwin/fcntl.cc index 0ba704991..f67f43f6c 100644 --- a/winsup/cygwin/fcntl.cc +++ b/winsup/cygwin/fcntl.cc @@ -20,8 +20,7 @@ details. */ #include "cygheap.h" #include "thread.h" -extern "C" -int +extern "C" int _fcntl (int fd, int cmd,...) { void *arg = NULL; -- cgit v1.2.3