Make setproctitle() available in 0.2 and 0.5 version nodes

Make the 0.5 version the default, so that code wanting the actual
implemented version can get a proper versioned depdendency. For code
linked against the old version, make it available as an alias.
This commit is contained in:
Guillem Jover
2013-05-25 17:11:53 +02:00
parent c984dacd65
commit e9933255d4
3 changed files with 15 additions and 3 deletions

View File

@@ -73,8 +73,6 @@ LIBBSD_0.2 {
pidfile_close;
pidfile_remove;
setproctitle;
arc4random_buf;
arc4random_uniform;
} LIBBSD_0.1;
@@ -99,6 +97,9 @@ LIBBSD_0.5 {
fgetwln;
fparseln;
/* Introduced in 0.2 as a stub, implemented in 0.5. */
setproctitle;
strnstr;
wcslcat;