summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/tools/gyp/test/mac/kext/GypKext/GypKext.c
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/mac/kext/GypKext/GypKext.c')
-rw-r--r--media/webrtc/trunk/tools/gyp/test/mac/kext/GypKext/GypKext.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/mac/kext/GypKext/GypKext.c b/media/webrtc/trunk/tools/gyp/test/mac/kext/GypKext/GypKext.c
new file mode 100644
index 000000000..9b611b0dc
--- /dev/null
+++ b/media/webrtc/trunk/tools/gyp/test/mac/kext/GypKext/GypKext.c
@@ -0,0 +1,16 @@
+// Copyright (c) 2015 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <sys/systm.h>
+#include <mach/mach_types.h>
+
+kern_return_t GypKext_start(kmod_info_t* ki, void* d) {
+ printf("GypKext has started.\n");
+ return KERN_SUCCESS;
+}
+
+kern_return_t GypKext_stop(kmod_info_t* ki, void* d) {
+ printf("GypKext has stopped.\n");
+ return KERN_SUCCESS;
+}