aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/libmenu/com32io.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-30 17:09:52 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-01 11:43:39 -0700
commit4d4ddf97886dc9482694975b70dacfe28a2f2ba1 (patch)
tree6b8f3ca4e3d5a095d8678c1655caceb519063d8a /com32/cmenu/libmenu/com32io.h
parent9eacdefabc99e6c98cc9373ee04dce23dc6d49bc (diff)
downloadsyslinux-4d4ddf97886dc9482694975b70dacfe28a2f2ba1.tar.gz
syslinux-4d4ddf97886dc9482694975b70dacfe28a2f2ba1.tar.xz
syslinux-4d4ddf97886dc9482694975b70dacfe28a2f2ba1.zip
cmenu: misc. cleanups
Fix a compiler warning and a header documentation. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu/libmenu/com32io.h')
-rw-r--r--com32/cmenu/libmenu/com32io.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/com32/cmenu/libmenu/com32io.h b/com32/cmenu/libmenu/com32io.h
index 54593328..8fb32306 100644
--- a/com32/cmenu/libmenu/com32io.h
+++ b/com32/cmenu/libmenu/com32io.h
@@ -22,10 +22,9 @@
#define CSI "\e["
-/* Beep: "" are required, not '' */
-static inline beep()
+static inline void beep(void)
{
- return fputs("\007", stdout);
+ fputs("\007", stdout);
}
/* BIOS Assisted output routines */