Commit graph

4 commits

Author SHA1 Message Date
Doug Torrance cf6aed73bc wmcliphist: Fix unused but set variable compiler warning.
In particular,
utils.c: In function ‘from_utf8’:
utils.c:13:7: warning: variable ‘error_code’ set but not used
 [-Wunused-but-set-variable]
  gint error_code;
       ^
2014-11-23 10:26:22 +00:00
Doug Torrance e2ecd4b877 wmcliphist: Add <sys/stat.h> to includes.
Otherwise, we get the following compiler warning:
history.c:289:2: warning: implicit declaration of function ‘chmod’
[-Wimplicit-function-declaration]
  if ((chmod(fname, S_IRUSR|S_IWUSR)) != 0) {
  ^
2014-11-23 10:26:22 +00:00
Doug Torrance 3a4d0d4147 wmcliphist: Add X11 build flags; otherwise wmcliphist fails to build. 2014-11-23 10:26:22 +00:00
Doug Torrance eef9ca3907 wmcliphist: Add version 2.0 to repository.
Obtained from:
http://linux.nawebu.cz/wmcliphist/wmcliphist-latest.tar.gz
2014-11-23 10:26:22 +00:00