xsetwacom.c:2098:6: warning: no previous prototype for function 'get_mapped_area' [-Wmissing-prototypes] Bool get_mapped_area(Display *dpy, XDevice *dev, int *width, int *height, int *x_org, int *y_org) ^ isdv4-serial-inputattach.c:81:5: warning: no previous prototype for function 'get_baud_rate' [-Wmissing-prototypes] int get_baud_rate(int fd) ^ isdv4-serial-inputattach.c:117:6: warning: no previous prototype for function 'sighandler' [-Wmissing-prototypes] void sighandler(int signum) ^
Signed-off-by: Jason Gerecke <killert...@gmail.com> --- tools/isdv4-serial-inputattach.c | 4 ++-- tools/xsetwacom.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/isdv4-serial-inputattach.c b/tools/isdv4-serial-inputattach.c index b8575e2..d7ed312 100644 --- a/tools/isdv4-serial-inputattach.c +++ b/tools/isdv4-serial-inputattach.c @@ -78,7 +78,7 @@ static int bind_kernel_driver(int fd) return 0; } -int get_baud_rate(int fd) +static int get_baud_rate(int fd) { struct stat st; int baudrate = 19200; @@ -114,7 +114,7 @@ int get_baud_rate(int fd) return baudrate; } -void sighandler(int signum) +static void sighandler(int signum) { /* We don't need to do anything here, triggering the signal is * enough to trigger EINTR in read() and then reset the line diff --git a/tools/xsetwacom.c b/tools/xsetwacom.c index 1f6148f..f2e5807 100644 --- a/tools/xsetwacom.c +++ b/tools/xsetwacom.c @@ -2095,7 +2095,7 @@ static Bool need_xinerama(Display *dpy) * @param y_org[out] Offset from the desktop origin to the mapped area's top edge * @return True if the function could determine the mapped area */ -Bool get_mapped_area(Display *dpy, XDevice *dev, int *width, int *height, int *x_org, int *y_org) +static Bool get_mapped_area(Display *dpy, XDevice *dev, int *width, int *height, int *x_org, int *y_org) { Atom matrix_prop = XInternAtom(dpy, "Coordinate Transformation Matrix", True); Atom type; -- 2.1.0 ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel