Logo Search packages:      
Sourcecode: kbd-chooser version File versions

version.h

#include <string.h>
#include <stdlib.h>

#define VERSION "1.08"

char *progname;

static inline void
set_progname(char *name) {
      char *p;

      p = rindex(name, '/');
      progname = (p ? p+1 : name);
}

static inline void
print_version_and_exit(void) {
      printf(_("%s from %s\n"), progname, "kbd-" VERSION);
      exit(0);
}

Generated by  Doxygen 1.6.0   Back to index