Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1515191 - spal_meminfo_get() function declaration isn’t a prototyp
Summary: spal_meminfo_get() function declaration isn’t a prototyp
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: 389-ds
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-20 11:17 UTC by Christian Heimes
Modified: 2018-05-03 10:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-03 10:46:31 UTC


Attachments (Terms of Use)

Description Christian Heimes 2017-11-20 11:17:27 UTC
Description of problem:
In file included from /usr/include/dirsrv/slapi-plugin.h:31:0,
                 from topology.h:9,
                 from topology_pre.c:1:
/usr/include/dirsrv/slapi_pal.h:47:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 slapi_pal_meminfo *spal_meminfo_get();
 ^~~~~~~~~~~~~~~~~


Version-Release number of selected component (if applicable):
$ rpm -qf /usr/include/dirsrv/slapi_pal.h
389-ds-base-devel-1.3.7.7-1.fc26.x86_

How reproducible:
always

Steps to Reproduce:
1. checkout freeipa sources
2. ./autogen.sh
3. make

Actual results:
multiple compiler warnings

Expected results:
no compiler warnings

Additional info:
The function signature is empty. The correct function declaration is "slapi_pal_meminfo *spal_meminfo_get(void);".

Comment 2 Fedora End Of Life 2018-05-03 08:09:42 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Christian Heimes 2018-05-03 10:46:31 UTC
The issue has been fixed n 389-ds-base-1.4.0 in F28. I'm still seeing the warning in F27, but it's not that critical.


Note You need to log in before you can comment on or make changes to this bug.