Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
feh
Commits
5fda4f2c
Commit
5fda4f2c
authored
13 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused feh_strip_hostname function
parent
3bb7b940
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/feh.h
+0
-1
0 additions, 1 deletion
src/feh.h
src/imlib.c
+0
-25
0 additions, 25 deletions
src/imlib.c
with
0 additions
and
26 deletions
src/feh.h
+
0
−
1
View file @
5fda4f2c
...
...
@@ -139,7 +139,6 @@ void feh_display_status(char stat);
void
real_loadables_mode
(
int
loadable
);
void
feh_reload_image
(
winwidget
w
,
int
resize
,
int
force_new
);
void
feh_filelist_image_remove
(
winwidget
winwid
,
char
do_delete
);
char
*
feh_strip_hostname
(
char
*
url
);
void
slideshow_save_image
(
winwidget
win
);
void
feh_edit_inplace_orient
(
winwidget
w
,
int
orientation
);
void
feh_edit_inplace_lossless_rotate
(
winwidget
w
,
int
orientation
);
...
...
This diff is collapsed.
Click to expand it.
src/imlib.c
+
0
−
25
View file @
5fda4f2c
...
...
@@ -316,31 +316,6 @@ char *feh_http_load_image(char *url)
#endif
/* HAVE_LIBCURL */
char
*
feh_strip_hostname
(
char
*
url
)
{
char
*
ret
;
char
*
start
;
char
*
finish
;
int
len
;
start
=
strchr
(
url
,
'/'
);
if
(
!
start
)
return
(
NULL
);
start
+=
2
;
finish
=
strchr
(
start
,
'/'
);
if
(
!
finish
)
return
(
NULL
);
len
=
finish
-
start
;
ret
=
emalloc
(
len
+
1
);
strncpy
(
ret
,
start
,
len
);
ret
[
len
]
=
'\0'
;
return
(
ret
);
}
void
feh_draw_zoom
(
winwidget
w
)
{
static
Imlib_Font
fn
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment