summaryrefslogtreecommitdiff
path: root/lib/strverscmp.h
blob: 02af6cb6fcd17f3aa78fdbca85b5350622b55380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* strverscmp.h -- compare strings holding indices/version numbers */

#ifndef STRVERSCMP_H_
# define STRVERSCMP_H_

# if HAVE_CONFIG_H
#  include <config.h>
# endif

# ifndef PARAMS
#  if defined (__GNUC__) || __STDC__
#   define PARAMS(args) args
#  else
#   define PARAMS(args) ()
#  endif
# endif

int strverscmp PARAMS ((const char*, const char*));

#endif /* not STRVERSCMP_H_ */