media/webrtc/trunk/tools/gyp/test/same-source-file-name/src/prog2.c

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 #include <stdio.h>
michael@0 2
michael@0 3 extern void func(void);
michael@0 4
michael@0 5 int main(int argc, char *argv[])
michael@0 6 {
michael@0 7 printf("Hello from prog2.c\n");
michael@0 8 func();
michael@0 9 /*
michael@0 10 * Uncomment to test same-named files in different directories,
michael@0 11 * which Visual Studio doesn't support.
michael@0 12 subdir1_func();
michael@0 13 subdir2_func();
michael@0 14 */
michael@0 15 return 0;
michael@0 16 }

mercurial