summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/lib/crt0.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/lib/crt0.h')
-rw-r--r--winsup/cygwin/lib/crt0.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/winsup/cygwin/lib/crt0.h b/winsup/cygwin/lib/crt0.h
new file mode 100644
index 000000000..74c2c4be4
--- /dev/null
+++ b/winsup/cygwin/lib/crt0.h
@@ -0,0 +1,22 @@
+/* crt0.h: header file for crt0.
+
+ Copyright 2000 Cygnus Solutions.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct per_process;
+typedef int (*MainFunc) (int argc, char *argv[], char **env);
+void _cygwin_crt0_common (MainFunc);
+int dll_dllcrt0 (HMODULE, struct per_process *);
+
+#ifdef __cplusplus
+}
+#endif