op_version.c

Go to the documentation of this file.
00001 
00012 #include <stdio.h>
00013 #include <stdlib.h>
00014 
00015 #include "op_version.h"
00016 #include "config.h"
00017 
00018 void show_version(char const * app_name)
00019 {
00020     /* Do not change the version format: it is documented in html doc */
00021     printf("%s: " PACKAGE " " VERSION " compiled on "
00022            __DATE__ " " __TIME__ "\n", app_name);
00023     exit(EXIT_SUCCESS);
00024 }

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1