summaryrefslogtreecommitdiff
path: root/package/ntpclient/patches/patch-ntpclient_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-19 19:20:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-19 19:20:33 +0200
commitf377469cd7524e091725d40b00628249220f66ff (patch)
treeee2e58617401ac0f5ade434bc52e916d20a0a672 /package/ntpclient/patches/patch-ntpclient_c
parente8ca169ae2dcbbf86320f93de493de7c2cf1c1cc (diff)
parent6e9a16f9deab677b03a6415ab9a06a689ee40e13 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ntpclient/patches/patch-ntpclient_c')
-rw-r--r--package/ntpclient/patches/patch-ntpclient_c21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/ntpclient/patches/patch-ntpclient_c b/package/ntpclient/patches/patch-ntpclient_c
deleted file mode 100644
index 3c5251b4b..000000000
--- a/package/ntpclient/patches/patch-ntpclient_c
+++ /dev/null
@@ -1,21 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- ntpclient-2007.orig/ntpclient.c 2008-01-01 03:16:10.000000000 +0100
-+++ ntpclient-2007/ntpclient.c 2008-10-10 15:59:26.000000000 +0200
-@@ -146,7 +146,7 @@ static int get_current_freq(void)
- #ifdef __linux__
- struct timex txc;
- txc.modes=0;
-- if (__adjtimex(&txc) < 0) {
-+ if (adjtimex(&txc) < 0) {
- perror("adjtimex"); exit(1);
- }
- return txc.freq;
-@@ -163,7 +163,7 @@ static int set_freq(int new_freq)
- struct timex txc;
- txc.modes = ADJ_FREQUENCY;
- txc.freq = new_freq;
-- if (__adjtimex(&txc) < 0) {
-+ if (adjtimex(&txc) < 0) {
- perror("adjtimex"); exit(1);
- }
- return txc.freq;