diff options
author | B. Watson <urchlay@slackware.uk> | 2024-01-10 12:08:26 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-01-10 12:08:26 -0500 |
commit | 9c974d61abf5d0cf22554e574af135d4ca7065c0 (patch) | |
tree | a4fbb549b66c96ccb04d72e4459df7b78cac4529 | |
parent | 4b982efaa978ef0bb9f637b06e112cada5ed64e7 (diff) | |
download | hcalc-9c974d61abf5d0cf22554e574af135d4ca7065c0.tar.gz |
foo() => foo(void)
-rw-r--r-- | draw.c | 4 | ||||
-rw-r--r-- | hcalc.h | 6 | ||||
-rw-r--r-- | input.c | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -42,7 +42,7 @@ void redraw_chars() { } } -void redraw() { +void redraw(void) { XCopyArea(display, face, window, gc, 0, 0, widths[winsize], heights[winsize], 0, 0); @@ -88,7 +88,7 @@ void set_string(char *s) { } } -void send_current_display() { +void send_current_display(void) { char tmp[40], *tp = tmp; int i; XEvent e; @@ -47,17 +47,17 @@ extern int quiet; void set_bits(int b); void set_string(char *s); -void redraw(); +void redraw(void); void key(char c); void button(int b, int x, int y); void complete_paste(unsigned char *s, int n); -void send_current_display(); +void send_current_display(void); void setup_x(void); void load_pixmaps(void); void process_input(); void load_config(void); void save_config(void); -void show_value(); +void show_value(void); void bell(void); void copy(void); void paste(void); @@ -70,7 +70,7 @@ void convert_number() { value *= sign; } -void show_value() { +void show_value(void) { char tmp[25], *tp; char commas[40], *cp, *dp; double v = value; |