summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2013-11-23 22:40:52 -0600
committerLevi Bostian <levi.bostian@gmail.com>2013-11-23 22:40:52 -0600
commit38de481179484d597d44fa934f87a5f21ebfaa6c (patch)
treefdb4ca1d4b34e49bc2410c6edad5aedb121d762d /c.html.markdown
parent981cc871a4d4e5473e580dee8574a119ac8a9723 (diff)
Add variety to function prototypes.
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown
index ee35cdd2..b4a874d3 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -38,8 +38,8 @@ enum days {SUN = 1, MON, TUE, WED, THU, FRI, SAT};
// Declare function signatures in advance in a .h file, or at the top of
// your .c file.
-void function_1();
-void function_2();
+void function_1(char s[]);
+int function_2(void);
// Must declare a 'function prototype' before main() when functions occur after
// your main() function.