Skip to content
Snippets Groups Projects

remove bogus close function

Merged O H requested to merge (removed):close into master

Just close the file descriptor, instead of doing shutdown.

Not doing so was already wrong in 2006.

wi_linux.c:83:1: error: conflicting types for 'close' close(int fd) ^~~~~ In file included from /usr/include/glib-2.0/gio/gcredentials.h:32:0, from /usr/include/glib-2.0/gio/gio.h:46, from /usr/include/xfce4/libxfce4util/xfce-gio-extensions.h:28, from /usr/include/xfce4/libxfce4util/libxfce4util.h:40, from wi_linux.c:32: /usr/include/unistd.h:353:12: note: previous declaration of 'close' was here extern int close (int __fd); ^~~~~ make[2]: *** [Makefile:525: libwavelan_la-wi_linux.lo] Error 1 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/xfce4-wavelan-plugin-20210505T194034.7ba466bd/panel-plugin'

Signed-off-by: Olaf Hering olaf@aepfle.de

Merge request reports

Merge request pipeline #10806 passed

Merge request pipeline passed for f7f9f3be

Approved by

Merged by Romain BouvierRomain Bouvier 3 years ago (Aug 19, 2021 9:20am UTC)

Merge details

  • Changes merged into master with f7f9f3be (commits were squashed).
  • Deleted the source branch.
  • Auto-merge enabled

Pipeline #10807 passed

Pipeline passed for f7f9f3be on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading