summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2013-11-24 16:58:21 -0600
committerLevi Bostian <levi.bostian@gmail.com>2013-11-24 16:58:21 -0600
commit5c7f6d70b9477fcd4fe64460704d7dcf48799f98 (patch)
treed021eb8a7c280e42f7e2c6ea2f7546a89dcf0308
parentbb4f644a19a086c3c6b32891a7240cc140b379f4 (diff)
Remove bad description of function prototypes.
-rw-r--r--c.html.markdown6
1 files changed, 0 insertions, 6 deletions
diff --git a/c.html.markdown b/c.html.markdown
index d8eccd78..d029a00f 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -420,12 +420,6 @@ int add_two_ints(int x1, int x2)
return x1 + x2; // Use return to return a value
}
-//if function takes no parameters, do:
-int getInt(void); for function prototype
-// and for the function declaration:
-int getInt(void) {}
-// (this is to keep compatibility with older versions of C).
-
/*
Functions are call by value. So when a function is called, the arguments passed
to the function are copies of original arguments (except arrays). Anything you