Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
68f716a2
Commit
68f716a2
authored
Oct 09, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directory: moved dirvec struct declaration to dirvec.h
No idea why it was created in directory.h, but it should be in dirvec.h.
parent
a0c044df
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
10 deletions
+7
-10
directory.c
src/directory.c
+0
-1
directory.h
src/directory.h
+1
-5
directory_print.c
src/directory_print.c
+0
-1
directory_save.c
src/directory_save.c
+0
-1
dirvec.h
src/dirvec.h
+6
-1
update.c
src/update.c
+0
-1
No files found.
src/directory.c
View file @
68f716a2
...
...
@@ -18,7 +18,6 @@
#include "directory.h"
#include "utils.h"
#include "dirvec.h"
#include <assert.h>
#include <string.h>
...
...
src/directory.h
View file @
68f716a2
...
...
@@ -19,6 +19,7 @@
#ifndef DIRECTORY_H
#define DIRECTORY_H
#include "dirvec.h"
#include "songvec.h"
#include <stdbool.h>
...
...
@@ -33,11 +34,6 @@
#define DIRECTORY_MPD_VERSION "mpd_version: "
#define DIRECTORY_FS_CHARSET "fs_charset: "
struct
dirvec
{
struct
directory
**
base
;
size_t
nr
;
};
struct
directory
{
char
*
path
;
struct
dirvec
children
;
...
...
src/directory_print.c
View file @
68f716a2
...
...
@@ -20,7 +20,6 @@
#include "directory.h"
#include "client.h"
#include "song_print.h"
#include "dirvec.h"
static
int
dirvec_print
(
struct
client
*
client
,
const
struct
dirvec
*
dv
)
...
...
src/directory_save.c
View file @
68f716a2
...
...
@@ -24,7 +24,6 @@
#include "path.h"
#include "utils.h"
#include "song_save.h"
#include "dirvec.h"
/* TODO error checking */
int
...
...
src/dirvec.h
View file @
68f716a2
#ifndef DIRVEC_H
#define DIRVEC_H
struct
dirvec
;
#include <stddef.h>
struct
dirvec
{
struct
directory
**
base
;
size_t
nr
;
};
void
dirvec_sort
(
struct
dirvec
*
dv
);
...
...
src/update.c
View file @
68f716a2
...
...
@@ -27,7 +27,6 @@
#include "playlist.h"
#include "utils.h"
#include "main_notify.h"
#include "dirvec.h"
#include "condition.h"
#include "update.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment