summaryrefslogtreecommitdiffhomepage
path: root/c.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2013-11-24 15:01:24 -0600
committerLevi Bostian <levi.bostian@gmail.com>2013-11-24 15:01:24 -0600
commitbb4f644a19a086c3c6b32891a7240cc140b379f4 (patch)
treecd4f1898e9ccfba47ebd2598968f249b15700301 /c.html.markdown
parentaf9cc6e9b9748e43cb1c02013fe92465c3455503 (diff)
Fix #define as it does not use = sign.
Diffstat (limited to 'c.html.markdown')
-rw-r--r--c.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/c.html.markdown b/c.html.markdown
index ab09a4a2..d8eccd78 100644
--- a/c.html.markdown
+++ b/c.html.markdown
@@ -21,7 +21,7 @@ Multi-line comments look like this. They work in C89 as well.
*/
// Constants: #define <keyword> (no semicolon at end)
-#define DAYS_IN_YEAR = 365
+#define DAYS_IN_YEAR 365
//enumeration constants are also ways to declare constants.
enum days {SUN = 1, MON, TUE, WED, THU, FRI, SAT};