summaryrefslogtreecommitdiff
path: root/example.h
diff options
context:
space:
mode:
Diffstat (limited to 'example.h')
-rw-r--r--example.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/example.h b/example.h
new file mode 100644
index 0000000..61ac8d5
--- /dev/null
+++ b/example.h
@@ -0,0 +1,18 @@
+enum Place
+{
+ HOME, /* Home, Sweet Home */
+ WORK, /* where I spend lots of time */
+ MOVIES, /* Saturday nights mainly */
+ CITY, /* New York, New York */
+ COUNTRY /* Bob's Country Bunker */
+};
+
+/*
+ * do some useful work for a change.
+ * This function will actually get some productive
+ * work done, if you are really lucky.
+ * returns the number of milliseconds in a second.
+ */
+int dowork(int count, /* how much work to do */
+ enum Place where, /* where to do the work */
+ long fiveoclock /* when to knock off */);