Репозитории ALT
S: | 0.9.18-alt3.qa2 |
5.1: | 0.9.18-alt3 |
4.1: | 0.9.16-alt3 |
4.0: | 0.9.16-alt3 |
3.0: | 0.9.16-alt1 |
Группа :: Система/Серверы
Пакет: irda-utils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: irda-utils-0.9.18-no-inline.patch
Скачать
Скачать
<!DOCTYPE html>
<html lang='en'>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Tree - rpms/irda-utils - src.fedoraproject.org</title>
<link rel="shortcut icon" type="image/vnd.microsoft.icon"
href="/theme/static/favicon.ico?version=5.13.2"/>
<link href="/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.13.2"
type="text/css" rel="stylesheet" />
<link href="/theme/static/fonts/fonts.css?version=5.13.2"
rel="stylesheet" type="text/css" />
<link href="/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.13.2"
type="text/css" rel="stylesheet" />
<link href="/theme/static/theme.css?version=5.13.2"
type="text/css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" nonce="810YRsnp1PbC15GsjSZRsnPpc" href="/static/vendor/font-awesome/font-awesome.css?version=5.13.2"/>
<link type="text/css" rel="stylesheet" nonce="810YRsnp1PbC15GsjSZRsnPpc" href="/static/pagure.css?version=5.13.2"/>
<link nonce="810YRsnp1PbC15GsjSZRsnPpc" rel="stylesheet" href="/static/vendor/highlight.js/styles/github.css?version=5.13.2"/>
<link nonce="810YRsnp1PbC15GsjSZRsnPpc" rel="stylesheet" href="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.css?version=5.13.2"/>
<style nonce="810YRsnp1PbC15GsjSZRsnPpc">
.hljs {
background: #fff;
}
</style>
</head>
<body id="home">
<!-- start masthead -->
<nav class="navbar navbar-light masthead p-0 navbar-expand">
<div class="container">
<a href="/" class="navbar-brand">
<img height=40px src="/theme/static/pagure-logo.png?version=5.13.2"
alt="pagure Logo" id="pagureLogo"/>
</a>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="btn btn-primary" href="/login/?next=https://src.fedoraproject.org/rpms/irda-utils/blob/rawhide/f/irda-utils-0.9.18-no-inline.patch">Log In</a>
</li>
</ul>
</div>
</nav>
<!-- close masthead-->
<div class="bodycontent">
<div class="bg-light border border-bottom pt-3">
<div class="container">
<div class="row mb-3">
<div class="col-6">
<div class="row">
<div class="col-auto pr-0">
<h3>
<i class="fa fa-archive text-muted"></i></h3>
</div>
<div class="col-auto pl-2">
<h3 class="mb-0">
<a href="/projects/rpms/%2A">rpms</a> / <a href="/rpms/irda-utils"><strong>irda-utils</strong></a>
</h3>
</div>
</div>
</div>
<div class="col-6 text-right">
<div class="btn-group">
<div class="btn-group">
<a href="#"
class="btn btn-sm dropdown-toggle btn-outline-primary"
data-toggle="dropdown" id="watch-button">
<i class="fa fa-clone fa-fw"></i>
<span>Clone</span>
</a>
<div class="dropdown-menu dropdown-menu-right">
<div class="m-3" id="source-dropdown" class="pointer">
<div>
<h5><strong>Source Code</strong></h5>
<div class="form-group">
<div class="input-group input-group-sm">
<div class="input-group-prepend"><span class="input-group-text">GIT</span></div>
<input class="form-control bg-white select-on-focus" type="text" value="https://src.fedoraproject.org/rpms/irda-utils.git" readonly>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<ul class="nav nav-tabs nav-small border-bottom-0">
<li class="nav-item mr-2 text-dark">
<a class="nav-link active" href="/rpms/irda-utils">
<i class="fa fa-code fa-fw text-muted"></i>
<span class="d-none d-md-inline">Source</span>
</a>
</li>
<li class="nav-item mr-2 text-dark">
<a class="nav-link" href="https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&product=Fedora&product=Fedora EPEL&component=irda-utils">
<i class="fa fa-fw text-muted fa-exclamation-circle"></i>
<span class="d-none d-md-inline">Issues </span>
<span class="fa fa-external-link"></span>
</a>
</li>
<li class="nav-item mr-2 text-dark">
<a class="nav-link" href="/rpms/irda-utils/pull-requests">
<i class="fa fa-fw text-muted fa-arrow-circle-down"></i>
<span class="d-none d-md-inline">Pull Requests </span>
<span class="badge badge-secondary py-0 d-none d-md-inline">
0
</span>
</a>
</li>
<li class="nav-item mr-2 text-dark">
<a class="nav-link" href="/rpms/irda-utils/stats">
<i class="fa fa-line-chart fa-fw text-muted"></i>
<span class="d-none d-md-inline">Stats</span>
</a>
</li>
</ul>
</div>
</div>
<div class="container pt-5 repo-body-container">
<div class="row">
<div class="col-2">
<nav class="nav nav-tabs nav-sidetabs flex-column">
<a class=
"nav-link nowrap
"
href="/rpms/irda-utils">
<i class="fa fa-home text-muted fa-fw"></i> <span class="d-none d-md-inline">Overview</span>
</a>
<a class=
"nav-link nowrap
active"
href="/rpms/irda-utils/tree/rawhide">
<i class="fa fa-file-code-o text-muted fa-fw"></i> Files
</a>
<a class=
"nav-link nowrap
"
href="/rpms/irda-utils/commits/rawhide">
<i class="fa fa-list-alt text-muted fa-fw" data-glyph="spreadsheet"></i> Commits
</a>
<a class=
"nav-link nowrap
"
href="/rpms/irda-utils/branches?branchname=rawhide">
<i class="fa fa-random text-muted fa-fw"></i> Branches
</a>
<a class=
"nav-link nowrap
"
href="/rpms/irda-utils/forks">
<i class="fa fa-code-fork text-muted fa-fw"></i> Forks
</a>
<a class=
"nav-link nowrap
"
href="/rpms/irda-utils/releases">
<i class="fa fa-tags text-muted fa-fw"></i> Releases
</a>
<div class="col-xs-2 line-height-1"></div>
<h6>Monitoring status:</h6>
<div class="btn-group">
<button title="Monitoring status" class="btn btn-sm btn-outline-primary disabled"
id="monitoring-button">
<i id="monitoring-icon" class="fa fa-fw fa-eye"></i>
<span id="monitoring-label" class="fa fa-circle-o-notch fa-spin fa-1x fa-fw"></span>
</button>
</div>
<div class="col-xs-2 line-height-1"></div>
<div id="orphan-section" class="pt-3">
<div class="col-xs-2 line-height-1"></div>
</div>
<div class="pt-3">
<div class="col-xs-2 line-height-1">
<h6>Bugzilla Assignee:</h6>
<dl>
<dt>Fedora: </dt>
<dd id="fedora_assignee_txt">
buc
</dd>
<dt>EPEL: </dt>
<dd id="epel_assignee_txt">
buc
</dd>
</dl>
</div>
</div>
<div class="modal fade" id="modal_assignee" tabindex="-1"
role="dialog" aria-labelledby="Bugzilla assignee" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Bugzilla Assignee</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
</div>
<form id="change_assignees">
<div class="modal-body">
<label for="fedora_assignee">Fedora</label>
<input title="Default assignee for Fedora in bugzilla - Empty input resets to default"
class="form-control" name="fedora_assignee" id="fedora_assignee" value="buc"/>
<label for="epel_assignee">EPEL</label>
<input title="Default assignee for EPEL in bugzilla (if applicable) - Empty input resets to default"
class="form-control" name="epel_assignee" id="epel_assignee" value="buc" />
<p class="pt-2">
These two fields allow to specify a different default assignee for ticket opened against
this package in bugzilla. Note: The EPEL field is
always displayed for packages in the 'rpms' namespace regardless of whether it
is used in bugzilla or not. </p>
</div>
<div class="modal-footer">
<button class="btn btn-secondary" type="button" title="Update bugzilla overrides" id="reset_assignees">
Reset to defaults
</button>
<button class="btn btn-primary" type="submit" title="Update bugzilla overrides" id="update_assignees">
Update
</button>
</div>
</form>
</div>
</div>
</div>
<div class="modal fade" id="modal_orphan" tabindex="-1"
role="dialog" aria-labelledby="Orphan this package" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Orphan package</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label for="reason_menu">Reason</label>
<select id="reason_menu" class="form-control">
<option id="lack_of_time_option_button">Lack of time</option>
<option id="do_not_use_it_option_button">Do not use it anymore</option>
<option id="unmaintained_option_button">Unmaintained upstream</option>
<option id="fails_to_build_option_button">Fails to build from source</option>
<option id="not_fixed_option_button">Important bug not fixed</option>
<option id="other_option_button">Other</option>
</select>
</div>
<label for="orphan_reason_info">Additional info</label>
<input title="Additional info for orphaning reason"
class="form-control" name="orphan_reason_info" id="orphan_reason_info" value=""/>
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="submit" title="Orphan this package" id="orphan_button">
Update
</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc">
window.addEventListener('load', function() {
set_up_monitoring = function(status){
var _label = "Disabled"
if (status === "monitoring") {
_label = "Monitoring";
$("#monitoring-icon").attr("class", "fa fa-fw fa-eye")
} else if (status === "monitoring-with-scratch") {
_label = "Scratch builds"
$("#monitoring-icon").attr("class", "fa fa-fw fa-eye")
} else {
$("#monitoring-icon").attr("class", "fa fa-fw fa-eye-slash")
}
$("#monitoring-label").text(_label);
$("#monitoring-label").removeClass("fa fa-circle-o-notch fa-spin fa-1x fa-fw");
}
$.ajax({
url: "/_dg/anitya/rpms/irda-utils",
type: 'GET',
dataType: 'json',
success: function(res) {
console.log(res);
set_up_monitoring(res.monitoring)
}
});
$("#reset_assignees").on('click', function(){
$('#fedora_assignee').val('');
$('#epel_assignee').val('');
$("#change_assignees").submit();
return false;
});
$("#change_assignees").on('submit', function(){
$('html').css('cursor', 'progress');
$('#reset_assignees').attr('disabled', true);
$('#update_assignees').attr('disabled', true);
$('#update_assignees').text('Updating...');
$.ajax({
url: "/_dg/bzoverrides/rpms/irda-utils",
type: 'POST',
dataType: 'json',
data: {
'epel_assignee': $('#epel_assignee').val(),
'fedora_assignee': $('#fedora_assignee').val()
},
success: function(res) {
$("#fedora_assignee_txt").text(res.fedora_assignee);
$("#epel_assignee_txt").text(res.epel_assignee);
$('#modal_assignee').modal('hide');
$('#reset_assignees').attr('disabled', false);
$('#update_assignees').attr('disabled', false);
$('#update_assignees').text('Update');
$('html').css('cursor', 'default');
console.log("Successfully changed the bugzilla assignees");
return false;
},
error: function(res) {
var msg = '';
if(res.responseJSON.errors){
msg = ': ' + res.responseJSON.errors.join(', ');
}
alert("Unable to update the bugzilla assignee(s)" + msg);
$('html').css('cursor', 'default');
$('#reset_assignees').attr('disabled', false);
$('#update_assignees').attr('disabled', false);
$('#update_assignees').text('Update');
return false;
}
})
return false;
});
$.ajax({
url: "/_dg/actived/rpms/irda-utils",
type: 'GET',
dataType: 'json',
success: function(res) {
var _btn = $("#take_orphan_button");
if (!res.active){
_btn.off("click");
_btn.click(function(){
window.open(
"https://pagure.io/releng/new_issue?title="
+ "Unretire rpms/irda-utils"
+ "&template=package_unretiremet");
});
_btn.prop( "title", "Package retired - Open a releng ticket to adopt it" );
_btn.html("Retired");
}
_btn.removeClass('disabled');
}
});
$("#orphan_button").click(function(){
$("#orphan_button").attr("disabled", true);
$.ajax({
url: "/_dg/orphan/rpms/irda-utils",
type: 'POST',
dataType: 'json',
data: {
'orphan_reason': $('#reason_menu').val(),
'orphan_reason_info': $('#orphan_reason_info').val()
},
success: function(res) {
$("#point_of_contact_div").html("Package is currently unmaintained");
$("#orphan_button").attr("disabled", false);
$('#modal_orphan').modal('hide');
$('#orphan-section').html('');
},
error: function(res) {
if (res.responseJSON.errors) {
alert('Unable to orphan the package: ' + res.responseJSON.errors);
} else {
alert('Unable to orphan the package: ' + res.responseJSON.error);
}
$("#orphan_button").attr("disabled", false);
}
});
});
});
</script>
</nav> </div>
<div class="col-10">
<div class="row mb-1">
<div class="col-sm-6">
<h3>
Files
</h3>
</div>
<div class="col-sm-6">
<div class="float-right">
<div class="btn-group">
<a href="#" class="btn btn-outline-light border-secondary text-dark btn-sm dropdown-toggle"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="fa fa-random fa-fw"></span> Branch: <span class="font-weight-bold">rawhide</span>
</a>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/el6">
<span class="fa fa-random fa-fw"></span> <span class="">el6</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/epel7">
<span class="fa fa-random fa-fw"></span> <span class="">epel7</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f10">
<span class="fa fa-random fa-fw"></span> <span class="">f10</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f11">
<span class="fa fa-random fa-fw"></span> <span class="">f11</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f12">
<span class="fa fa-random fa-fw"></span> <span class="">f12</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f13">
<span class="fa fa-random fa-fw"></span> <span class="">f13</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f14">
<span class="fa fa-random fa-fw"></span> <span class="">f14</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f15">
<span class="fa fa-random fa-fw"></span> <span class="">f15</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f16">
<span class="fa fa-random fa-fw"></span> <span class="">f16</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f17">
<span class="fa fa-random fa-fw"></span> <span class="">f17</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f18">
<span class="fa fa-random fa-fw"></span> <span class="">f18</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f19">
<span class="fa fa-random fa-fw"></span> <span class="">f19</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f20">
<span class="fa fa-random fa-fw"></span> <span class="">f20</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f21">
<span class="fa fa-random fa-fw"></span> <span class="">f21</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f22">
<span class="fa fa-random fa-fw"></span> <span class="">f22</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f23">
<span class="fa fa-random fa-fw"></span> <span class="">f23</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f24">
<span class="fa fa-random fa-fw"></span> <span class="">f24</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f25">
<span class="fa fa-random fa-fw"></span> <span class="">f25</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f26">
<span class="fa fa-random fa-fw"></span> <span class="">f26</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f27">
<span class="fa fa-random fa-fw"></span> <span class="">f27</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f28">
<span class="fa fa-random fa-fw"></span> <span class="">f28</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f29">
<span class="fa fa-random fa-fw"></span> <span class="">f29</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f30">
<span class="fa fa-random fa-fw"></span> <span class="">f30</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f31">
<span class="fa fa-random fa-fw"></span> <span class="">f31</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f32">
<span class="fa fa-random fa-fw"></span> <span class="">f32</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f33">
<span class="fa fa-random fa-fw"></span> <span class="">f33</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f34">
<span class="fa fa-random fa-fw"></span> <span class="">f34</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f7">
<span class="fa fa-random fa-fw"></span> <span class="">f7</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f8">
<span class="fa fa-random fa-fw"></span> <span class="">f8</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/f9">
<span class="fa fa-random fa-fw"></span> <span class="">f9</span>
</a>
<a class="dropdown-item pl-1 " href="/rpms/irda-utils/tree/main">
<span class="fa fa-random fa-fw"></span> <span class="">main</span>
</a>
<a class="dropdown-item pl-1 active" href="/rpms/irda-utils/tree/rawhide">
<span class="fa fa-random fa-fw"></span> <span class="font-weight-bold">rawhide</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="card mb-3">
<div class="card-header">
<ol class="breadcrumb p-0 bg-transparent mb-0">
<li class="breadcrumb-item">
<a href="/rpms/irda-utils/tree/rawhide">
<span class="fa fa-random">
</span> rawhide
</a>
</li>
<li class="active breadcrumb-item">
<span class="fa fa-file" data-glyph="">
</span> irda-utils-0.9.18-no-inline.patch
</li>
</ol>
</div>
<div class="card-body p-0">
<div class="bg-light border text-right pr-2">
<form class="btn btn-sm" method="POST" name="fork_project"
action="/fork_edit/rpms/irda-utils/edit/rawhide/f/irda-utils-0.9.18-no-inline.patch">
<button class="btn btn-sm btn-secondary fork_project_btn">
Fork and Edit
</button>
</form>
<a class="btn btn-secondary btn-sm" href="/rpms/irda-utils/blob/rawhide/f/irda-utils-0.9.18-no-inline.patch" title="View as blob">Blob</a>
<a class="btn btn-secondary btn-sm" href="/rpms/irda-utils/blame/irda-utils-0.9.18-no-inline.patch?identifier=rawhide" title="View git blame">Blame</a>
<a class="btn btn-secondary btn-sm" href="/rpms/irda-utils/history/irda-utils-0.9.18-no-inline.patch?identifier=rawhide" title="View git log for this file">History</a>
<a class="btn btn-secondary btn-sm" href="/rpms/irda-utils/raw/rawhide/f/irda-utils-0.9.18-no-inline.patch" title="View as raw">Raw</a>
</div>
<pre class="syntaxhighlightblock"><code class="lang-diff">diff -Nrbu irda-utils-0.9.18/irdadump/irdadump.c irda-utils-0.9.18-OK/irdadump/irdadump.c
--- irda-utils-0.9.18/irdadump/irdadump.c 2006-07-11 10:16:06.000000000 +0400
+++ irda-utils-0.9.18-OK/irdadump/irdadump.c 2017-02-13 03:42:20.216303403 +0300
@@ -71,7 +71,7 @@
* Print current time
*
*/
-inline void print_time(const struct timeval *timev, GString *str)
+void print_time(const struct timeval *timev, GString *str)
{
int s;
@@ -90,7 +90,7 @@
* Print the difference in time between this frame and the previous one
*
*/
-inline void print_diff_time(struct timeval *timev, struct timeval *prev_timev,
+void print_diff_time(struct timeval *timev, struct timeval *prev_timev,
GString *str)
{
float diff;
diff -Nrbu irda-utils-0.9.18/irdadump/irdadump.h irda-utils-0.9.18-OK/irdadump/irdadump.h
--- irda-utils-0.9.18/irdadump/irdadump.h 2006-07-11 10:16:06.000000000 +0400
+++ irda-utils-0.9.18-OK/irdadump/irdadump.h 2017-02-13 03:41:55.785303429 +0300
@@ -219,10 +219,10 @@
guint8 caddr; /* LAP connection address (for garbage collect) */
};
-inline void parse_obex(GNetBuf *buf, GString *str, int cmd);
-inline void parse_irlmp(GNetBuf *buf, GString *str,
+void parse_obex(GNetBuf *buf, GString *str, int cmd);
+void parse_irlmp(GNetBuf *buf, GString *str,
guint8 caddr, int type, int cmd);
-inline void parse_ui_irlmp(GNetBuf *buf, GString *str, int type);
+void parse_ui_irlmp(GNetBuf *buf, GString *str, int type);
void parse_ircomm_params(guint8 clen, GNetBuf *buf, GString *str);
void parse_ircomm_connect(GNetBuf *buf, GString *str);
void parse_ircomm_lmp(GNetBuf *buf, GString *str);
diff -Nrbu irda-utils-0.9.18/irdadump/irlap.c irda-utils-0.9.18-OK/irdadump/irlap.c
--- irda-utils-0.9.18/irdadump/irlap.c 2006-07-11 10:16:06.000000000 +0400
+++ irda-utils-0.9.18-OK/irdadump/irlap.c 2017-02-13 03:43:06.858303354 +0300
@@ -91,7 +91,7 @@
* Garbage collect destroyes LAP connections
*
*/
-inline void garbage_connection(guint8 caddr)
+void garbage_connection(guint8 caddr)
{
gint i;
@@ -226,7 +226,7 @@
* Parse and print the names of the various hint bits if they are set
*
*/
-inline void parse_hints(guint8 *hint, GString *str)
+void parse_hints(guint8 *hint, GString *str)
{
g_string_append(str, "[ ");
if (hint[0] & HINT_PNP)
@@ -261,7 +261,7 @@
* Exchange station identification frame
*
*/
-inline void parse_xid_frame(guint8 command, guint8 pf, int type,
+void parse_xid_frame(guint8 command, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
struct xid_frame *frame = (struct xid_frame *) buf->data;
@@ -339,7 +339,7 @@
* Information frames
*
*/
-inline void parse_i_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_i_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
int nr, ns;
@@ -396,7 +396,7 @@
* Information frames
*
*/
-inline void parse_ui_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_ui_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
/* Remove IrLAP header */
@@ -417,7 +417,7 @@
* Frame reject frame
*
*/
-inline void parse_frmr_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_frmr_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
int nr, ns;
@@ -439,7 +439,7 @@
* Receive ready frame
*
*/
-inline void parse_rr_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_rr_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
int nr;
@@ -479,7 +479,7 @@
* Receive not ready frame
*
*/
-inline void parse_rnr_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_rnr_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
int nr;
@@ -497,7 +497,7 @@
* Reject frame
*
*/
-inline void parse_rej_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_rej_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
int nr;
@@ -515,7 +515,7 @@
* Selective reject frame
*
*/
-inline void parse_srej_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_srej_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
int nr;
@@ -533,7 +533,7 @@
* Unnumbered acknowledgement frame
*
*/
-inline void parse_ua_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_ua_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
struct ua_frame *frame = (struct ua_frame *) buf->data;
@@ -564,7 +564,7 @@
* Disconnect frame
*
*/
-inline void parse_disc_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_disc_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
/* Kill "unused" warning */
@@ -582,7 +582,7 @@
* Disconnected mode frame
*
*/
-inline void parse_dm_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_dm_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
/* Kill "unused" warning */
@@ -598,7 +598,7 @@
* Request disconnect frame
*
*/
-inline void parse_rd_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_rd_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
/* Kill "unused" warning */
@@ -614,7 +614,7 @@
* Test frame
*
*/
-inline void parse_test_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_test_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
struct test_frame *frame = (struct test_frame *) buf->data;
@@ -634,7 +634,7 @@
* Set normal response mode frame
*
*/
-inline void parse_snrm_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_snrm_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
struct snrm_frame *frame = (struct snrm_frame *) buf->data;
@@ -671,7 +671,7 @@
* Request normal response mode
*
*/
-inline void parse_rnrm_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
+void parse_rnrm_frame(guint8 caddr, guint8 cmd, guint8 pf, int type,
GNetBuf *buf, GString *str)
{
gint32 saddr, daddr;
diff -Nrbu irda-utils-0.9.18/irdadump/irlmp.c irda-utils-0.9.18-OK/irdadump/irlmp.c
--- irda-utils-0.9.18/irdadump/irlmp.c 2006-07-11 10:16:06.000000000 +0400
+++ irda-utils-0.9.18-OK/irdadump/irlmp.c 2017-02-13 03:41:45.654303441 +0300
@@ -47,7 +47,7 @@
* Try to parse and print the LM-IAS query
*
*/
-inline void parse_iriap_command(GNetBuf *buf, GString *str, guint8 slsap_sel)
+void parse_iriap_command(GNetBuf *buf, GString *str, guint8 slsap_sel)
{
guint8 opcode;
char name[255];
@@ -193,7 +193,7 @@
*
*
*/
-inline void parse_iriap_response(GNetBuf *buf, GString *str, guint8 dlsap_sel)
+void parse_iriap_response(GNetBuf *buf, GString *str, guint8 dlsap_sel)
{
guint8 opcode, rsp;
@@ -239,7 +239,7 @@
* Parse IrTTP data frame
*
*/
-inline void parse_irnet(GNetBuf *buf, GString *str)
+void parse_irnet(GNetBuf *buf, GString *str)
{
/* Kill "unused" warning */
buf = buf;
@@ -256,7 +256,7 @@
* Parse IrTTP data frame
*
*/
-inline void parse_irttp(GNetBuf *buf, GString *str)
+void parse_irttp(GNetBuf *buf, GString *str)
{
g_string_sprintfa(str, "TTP credits=%d ", buf->data[0] & 0x7f);
@@ -273,7 +273,7 @@
* Parse IrTTP connect frame
*
*/
-inline void parse_irttp_connect(GNetBuf *buf, GString *str)
+void parse_irttp_connect(GNetBuf *buf, GString *str)
{
guint8 plen, pi, pl;
guint16 tmp_cpu;
@@ -303,7 +303,7 @@
* Parse IrLMP frame
*
*/
-inline void parse_irlmp(GNetBuf *buf, GString *str,
+void parse_irlmp(GNetBuf *buf, GString *str,
guint8 caddr, int type, int cmd)
{
guint8 slsap_sel, dlsap_sel;
@@ -437,7 +437,7 @@
* Parse IrLMP frame in UI frame
*
*/
-inline void parse_ui_irlmp(GNetBuf *buf, GString *str, int type)
+void parse_ui_irlmp(GNetBuf *buf, GString *str, int type)
{
guint8 slsap_sel, dlsap_sel;
int ctrl;
diff -Nrbu irda-utils-0.9.18/irdadump/obex.c irda-utils-0.9.18-OK/irdadump/obex.c
--- irda-utils-0.9.18/irdadump/obex.c 2006-07-11 10:16:06.000000000 +0400
+++ irda-utils-0.9.18-OK/irdadump/obex.c 2017-02-13 03:42:10.356303414 +0300
@@ -112,7 +112,7 @@
* Parse an OBEX put command
*
*/
-inline void parse_obex_headers(GNetBuf *buf, GString *str)
+void parse_obex_headers(GNetBuf *buf, GString *str)
{
struct obex_minimal_frame *frame;
int final;
@@ -179,7 +179,7 @@
}
}
-inline void parse_obex_connect(GNetBuf *buf, GString *str)
+void parse_obex_connect(GNetBuf *buf, GString *str)
{
struct obex_connect_frame *frame;
guint16 length;
@@ -210,7 +210,7 @@
* We also need to parse the anser to GET request properly
* Jean II
*/
-inline void parse_obex_success(GNetBuf *buf, GString *str)
+void parse_obex_success(GNetBuf *buf, GString *str)
{
struct obex_connect_frame *frame;
guint16 length;
@@ -252,7 +252,7 @@
* Parse OBEX commands and responses
*
*/
-inline void parse_obex(GNetBuf *buf, GString *str, int cmd)
+void parse_obex(GNetBuf *buf, GString *str, int cmd)
{
guint8 opcode;
int len;
</code></pre>
</div>
</div> <!-- end .card-->
</div>
</div>
</div>
</div>
<div class="footer pt-4 text-white">
<div class="container">
<div class="d-flex align-items-center">
<div>
<div>Powered by <a href="https://pagure.io/pagure" class="notblue">Pagure</a> 5.13.2</div>
<div>
<a href="https://docs.pagure.org/pagure/usage/index.html" class="notblue">Documentation</a> •
<a href="https://pagure.io/pagure/new_issue" class="notblue">File an Issue</a> •
<a href="/about">About this Instance</a> •
<a href="/ssh_info" class="notblue">SSH Hostkey/Fingerprint</a>
</div>
</div>
<div class="ml-auto text-right">
<div>© Red Hat, Inc. and others.</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc" src="/static/vendor/jquery/jquery.min.js?version=5.13.2"></script>
<script src="/static/vendor/bootstrap/bootstrap.bundle.min.js?version=5.13.2"></script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc">
$('[data-toggle="tooltip"]').tooltip({placement : 'bottom'});
$(".cancel_btn").click(function() {
history.back();
});
</script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc" src="/static/vendor/lazyload/lazyload.min.js?version=5.13.2"></script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc">
window.addEventListener("load", function(event) {
lazyload();
});
</script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc">
$("#giturl-toggle").on('click', function(event){
event.stopPropagation();
$("#giturl-more").toggle();
$("#giturl-toggle").hide();
})
$(".fork_project_btn").click(function() {
$('#fork_project').submit();
});
$(".select-on-focus").on("focus", function() {
$(this).select();
});
</script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc" src="/static/vendor/highlight.js/highlight.pack.js?version=5.13.2"></script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc" src="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.js?version=5.13.2"></script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc" src="/static/vendor/highlight.js/spec.js?version=5.13.2"></script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc">
$(document).ready(function() {
$('.fork_project_btn').click($("[name=fork_project]").submit);
$('pre.syntaxhighlightblock code').each(function(i, block) {
hljs.highlightBlock(block);
hljs.lineNumbersBlock(block);
});
var cls = "highlighted-line";
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
if (! isNaN(lines[0]))
{
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
$('#_' + i).parent().parent().addClass(cls);
}
setTimeout(function(){
$("#_" + lines[0]).get(0).scrollIntoView({behavior: "instant", block: "start", inline: "nearest"});
}, 50);
}
});
</script>
<script type="text/javascript" nonce="810YRsnp1PbC15GsjSZRsnPpc">
function updateHighlight() {
var cls = "highlighted-line";
$('.' + cls).removeClass(cls)
if (location.hash !== '') {
var lines = location.hash.substr(2).split('-').map(function (x) { return parseInt(x, 10) });
for (var i = lines[lines.length - 1]; i >= lines[0]; i--) {
$('[data-line-number=' + i + ']').closest('tr').addClass(cls);
}
return lines;
}
return [];
}
$(window).on('hashchange', updateHighlight);
var selected = [];
$("[data-line-number]").click(function (ev) {
var line = $(this).attr('data-line-number');
if (ev.shiftKey) {
selected = selected.slice(-1).concat(line);
} else {
selected = [line];
}
var hash = '_' + selected[0];
if (selected.length === 2) {
hash = '_' + Math.min(selected[0], selected[1]) + '-' + Math.max(selected[0], selected[1]);
}
window.location.hash = hash;
return false;
});
</script>
</body>
</html>