-extern int gettimeofday(struct timeval *tp, struct timezone *tzp);
-extern int gethostname (char* name, int namelen);
-extern char* mktemp(char *);
-extern double logb(double);
-extern void sync();
-extern int ioctl(int, int, ...);
- /* sys/stat.h */
-extern int lstat(const char *path, struct stat *buf);
- /* unistd.h */
-extern int readlink(const char *path, void *buf, unsigned int bufsiz);
-extern int symlink(const char *name1, const char *name2);
- /* sys/time.h */
-extern int setitimer(int which, const struct itimerval *value,
- struct itimerval *ovalue);
-extern int utimes(char *file, struct timeval *tvp);
-
-extern int srandom( unsigned seed);
-extern long random();
-#endif
+int gettimeofday (struct timeval *tp, struct timezone *tzp);
+int gethostname (char* name, int namelen);
+char* mktemp (char *);
+double logb (double);
+void sync (void);
+int ioctl (int, int, ...);
+ /* sys/stat.h */
+int lstat (const char *path, struct stat *buf);
+ /* unistd.h */
+int readlink (const char *path, void *buf, unsigned int bufsiz);
+int symlink (const char *name1, const char *name2);
+ /* sys/time.h */
+int setitimer (int which, const struct itimerval *value,
+ struct itimerval *ovalue);
+int utimes (char *file, struct timeval *tvp);
+
+int srandom (unsigned seed);
+long random (void);
+
+# else /* not CYGWIN_VERSION_DLL_MAJOR < 20 */
+
+void cygwin_win32_to_posix_path_list (const char*, char*);
+int cygwin_win32_to_posix_path_list_buf_size (const char*);
+void cygwin_posix_to_win32_path_list (const char*, char*);
+int cygwin_posix_to_win32_path_list_buf_size (const char*);
+
+# endif /* CYGWIN_VERSION_DLL_MAJOR < 20 */
+
+# if CYGWIN_VERSION_DLL_MAJOR <= 20
+char *getpass (const char *prompt);
+double logb (double);
+# endif /* CYGWIN_VERSION_DLL_MAJOR <= 20 */
+
+/* Still left out of 1.1! */
+double logb (double);
+int killpg (int pgrp, int sig);